// Use this for initialization void Start() { if (gm == null) { gm = GameObject.FindGameObjectWithTag("GM").GetComponent <GameMasterTeleport>(); } deathCount = 0; }
void KillPlayer() { GameMasterTeleport.KillPlayer(this); GameMasterTeleport.IncreaseDeath(); }