public void KillPlayer() { _gm.SetGameState(GameState.PlayerDead); _pm = GameObject.Find("PlayerSprite").GetComponent <Player_Movement>(); _pm.death(); PlayerDead(); }