Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     LoadPlayer();
     if (SceneManager.GetActiveScene().name == "Stage4")
     {
         ItemManage.LoadItemStage4();
     }
     if (SceneManager.GetActiveScene().name == "Stage6")
     {
         ItemManage.LoadItemStage6();
     }
 }
Beispiel #2
0
 void Start()
 {
     GameManage.RevivePoint = point;
     LoadBGM();
     LoadPlayer();
     if (GameManage.GameModel == 1)
     {
         if (SceneManager.GetActiveScene().name == "Stage4")
         {
             ItemManage.LoadItemStage4();
         }
         if (SceneManager.GetActiveScene().name == "Stage5")
         {
             ItemManage.LoadItemStage5();
         }
         if (SceneManager.GetActiveScene().name == "Stage6")
         {
             ItemManage.LoadItemStage6();
         }
     }
 }