public IEnumerator PerformDeathWindowDelay() { float timeCount = 0f; while (timeCount < 2f) { timeCount += Time.deltaTime; yield return(null); } playerOptionsMenuWindow.OpenWindow(); }
public override bool Interact(CharacterUnit source) { if (!chestWindow.IsOpen) { AddItems(); chestWindow.OnCloseWindowCallback += OnCloseWindow; chestWindow.OpenWindow(); return(true); } return(false); }
public void OpenMainMenu() { //Debug.Log("SystemWindowManager.OpenMainMenu()"); mainMenuWindow.OpenWindow(); }
public void OpenInGameMainMenu() { inGameMainMenuWindow.OpenWindow(); }
public void PlayerDeathHandler(CharacterStats characterStats) { //Debug.Log("PopupWindowManager.PlayerDeathHandler()"); playerOptionsMenuWindow.OpenWindow(); }