IEnumerator EndReset() { LevelManager.instance.uiHandler.StartFadeOut(); player.FreezeMovement(true); CharacterStats pStats = player.GetComponent <CharacterStats>(); pStats.invuln = true; yield return(new WaitForSeconds(4)); ResetScene(); }
public void DrawSword() { anim.SetBool("Sword Drawn", true); parentMover.FreezeMovement(false); }