コード例 #1
0
 void InitGame()
 {
     FetchAllReferences(() =>
     {
         Scenes.Load(CurrentLevelSceneInfo, (currentLevelScene) =>
         {
             Scenes.Load(shopSceneInfo, (shopScene) =>
             {
                 shopScene.FindRootObject <ShopManager>().Init(() =>
                 {
                     Scenes.Load(UISceneInfo, (UIScene) =>
                     {
                         UIScene.FindRootObject <hudManager>().Init(() =>
                         {
                             ReadyGame();
                             this.DelayedCall(() =>
                             {
                                 StartGame();
                             }, 0.1f);
                         });
                     });
                 });
             });
         });
     });
 }