private void TransitionTo(BurnScreen screen) { screen.gameObject.transform.SetAsFirstSibling(); screen.gameObject.SetActive(false); _currentBurnScreen.Transition(); screen.gameObject.SetActive(true); _currentBurnScreen = screen; }
public void Surrender() { ButtonSound.Play(); Menu.Transition(); GameResources.Game.Surrender(GameResources.Game.PlayerToAct); }