コード例 #1
0
 public void SetLoading_In(Action actionIn)
 {
     Debug.Log("SetLoading_InAAAAAAAAAAAAAAAAAAAA");
     sceneTransitionController.gameObject.SetActive(true);
     sceneTransitionController.ShowLoading_In(() =>
     {
         actionIn.Invoke();
     });
 }
コード例 #2
0
ファイル: HomeManager.cs プロジェクト: playdeax/PixelBall2
 public void ShowLoadingToGame()
 {
     sceneTransitionController.gameObject.SetActive(true);
     sceneTransitionController.ShowLoading_In(() =>
     {
         if (forceLevel > 0)
         {
             SceneManager.LoadScene("Level" + forceLevel);
         }
         else
         {
             SceneManager.LoadScene("Level" + Config.GetLevel());
         }
     });
 }