示例#1
0
 private void CoreLoadScene(SceneAsset asset)
 {
     BeforeSceneLoaded?.Invoke();
     ClearCurrentSceneGameObjects();
     _game.FlushDeletedObjects();
     asset.GenerateGameObjects();
     _loadedScene = asset;
     AfterSceneLoaded?.Invoke();
     _game.NewSceneLoaded();
 }