示例#1
0
    //[Called from Symbol:OnMouseDown]
    public void Ensmallen()
    {
        // Transform the symbol so that it takes up the normal amount of space again
        transform.localScale    = new Vector3((1f / perRow), .1f, tileHeight / 2);
        transform.localPosition = new Vector3(-(1f / perRow) * (id % perRow), 0, (id / perRow) * (tileHeight / 2));
        isEmbiggened            = false;

        ggparent_gridSpace.UpdateEmbiggenedSymbols(index, -1, false);
        gparent_totem.ActivateOtherSymbols(id, tileNum);
    }