示例#1
0
 public void GotoGame(UnityEngine.Video.VideoPlayer vp)
 {
     PrePlayUI.SetActive(false);
     MainUI.SetActive(false);
     HomeUI.SetActive(true);
     ShieldHandler.Instance.RefreshShield();
     Screen.orientation = ScreenOrientation.LandscapeLeft;
     GameUI.SetActive(true);
     ShieldHandler.Instance.RefreshShield();
     _SpawnRef.StartSpawn();
 }
示例#2
0
 public void Transition()
 {
     if (ShieldHandler.Instance.isNew)
     {
         PrePlayUI.SetActive(true);
         HomeUI.SetActive(false);
     }
     else
     {
         MainUI.SetActive(false);
         Screen.orientation = ScreenOrientation.LandscapeLeft;
         GameUI.SetActive(true);
         ShieldHandler.Instance.RefreshShield();
         _SpawnRef.StartSpawn();
     }
 }