Exemple #1
0
    //[Called from Symbol:OnMouseDown, Totem:ActivateAllSymbols, and Totem:ActivateOtherSymbols]
    public void Activate()
    {
        if (!isActive)
        {
            // Symbol is inactive, so activate it and change the color to white
            rend.material.SetColor("_Color", Color.white);
            isActive = true;

            gparent_totem.CheckLastInTile(id, tileNum, 1);
        }
    }