update space shooter

This commit is contained in:
何冠峰
2024-07-05 20:21:51 +08:00
parent d09b52301a
commit 481711fd75
2 changed files with 2 additions and 5 deletions
@@ -12,7 +12,7 @@ public class SceneHome : MonoBehaviour
private IEnumerator Start()
{
// 加载登录页面
_windowHandle = YooAssets.LoadAssetSync<GameObject>("UIHome");
_windowHandle = YooAssets.LoadAssetAsync<GameObject>("UIHome");
yield return _windowHandle;
_windowHandle.InstantiateSync(CanvasDesktop.transform);
}