Exemplo n.º 1
0
    public void ClearSelection()
    {
        Totems = GameObject.FindGameObjectsWithTag("Totem");

        foreach (GameObject Totem in Totems)
        {
            Totem.GetComponentInChildren <Renderer>().material = Totem.GetComponentInChildren <Totem>().TotemMat;
        }
        EnebattleHUD.ResetHUD(EnemyTotem);
        CurrbattleHUD.ResetHUD(ActiveTotem);
        EnemyTotem    = null;
        ActiveTotem   = null;
        Selectedtotem = null;

        ClearOtherSelection();
    }