mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-14 19:40:47 +00:00
Update InstantiateOperation.cs
禁用引擎提供的GameObject对象的异步实例化
This commit is contained in:
@@ -74,7 +74,11 @@ namespace YooAsset
|
||||
}
|
||||
|
||||
#if UNITY_2022_3_OR_NEWER
|
||||
_steps = ESteps.CloneAsync;
|
||||
//TODO
|
||||
// BUG环境:Windows平台,Unity2022.3.41f1版本,编辑器模式。
|
||||
// BUG描述:异步实例化Prefab预制体,有概率丢失Mono脚本里序列化的数组里某个成员!
|
||||
//_steps = ESteps.CloneAsync;
|
||||
_steps = ESteps.CloneSync;
|
||||
#else
|
||||
_steps = ESteps.CloneSync;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user