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(); }
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(); } }