public void ToGameplayTutorial() { menuToTransitionTo = GameplayTutorial.gameObject; anim.SetTrigger("Close"); anim.SetTrigger("OpenFull"); OneClickCover.SetActive(true); }
public void ToUpgrade() { menuToTransitionTo = UpgradeMnu; anim.SetTrigger("Close"); anim.SetTrigger("OpenFull"); OneClickCover.SetActive(true); }
public void ShowRangerReg() { AudioSource.PlayClipAtPoint(banClip, transform.position); menuToTransitionTo = RangerRegistration; anim.SetTrigger("Close"); anim.SetTrigger("Open"); OneClickCover.SetActive(true); }
public void Defeat() { PlayerPrefs.DeleteAll(); menuToTransitionTo = DefeatMsg; anim.SetTrigger("Close"); anim.SetTrigger("Open"); OneClickCover.SetActive(true); }
public void ShowBanned() { AudioSource.PlayClipAtPoint(banClip, transform.position); GemView.updateView.Invoke(); menuToTransitionTo = BannedMsg; anim.SetTrigger("Close"); anim.SetTrigger("Open"); OneClickCover.SetActive(true); }
public void ToTutorialScreen() { GameplayTutorial.gameObject.SetActive(false); ManagementTutorial.gameObject.SetActive(false); menuToTransitionTo = TutorialScreen; anim.SetTrigger("Close"); anim.SetTrigger("Open"); OneClickCover.SetActive(true); }
public void DoorsClosed() { OneClickCover.SetActive(false); if (menuToTransitionTo) { menuToTransitionTo.SetActive(!menuToTransitionTo.activeSelf); } if (menuToTransitionTo.gameObject.activeInHierarchy && menuToTransitionTo == ManagementTutorial.gameObject) { ManagementTutorial.NextStep(); TutorialScreen.SetActive(false); } else if (menuToTransitionTo.gameObject.activeInHierarchy && menuToTransitionTo == GameplayTutorial.gameObject) { GameplayTutorial.NextStep(); TutorialScreen.SetActive(false); } }
public void HideBanned() { anim.SetTrigger("Close"); anim.SetTrigger("OpenFull"); OneClickCover.SetActive(true); }