Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        if (gm == null)
        {
            gm = GameObject.FindGameObjectWithTag("GM").GetComponent <GameMasterTeleport>();
        }

        deathCount = 0;
    }
Exemplo n.º 2
0
 void KillPlayer()
 {
     GameMasterTeleport.KillPlayer(this);
     GameMasterTeleport.IncreaseDeath();
 }