Update basic sample
parent
c00594738f
commit
1cf03bf049
|
@ -195,6 +195,7 @@ public class GameScene1 : MonoBehaviour
|
||||||
{
|
{
|
||||||
var handle = YooAssets.LoadAssetSync<GameObject>("ui_window");
|
var handle = YooAssets.LoadAssetSync<GameObject>("ui_window");
|
||||||
handle.InstantiateSync(CanvasRoot.transform);
|
handle.InstantiateSync(CanvasRoot.transform);
|
||||||
|
_cachedAssetOperationHandles.Add(handle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue