Ejemplo n.º 1
0
    //[Called from Tile:CheckLastSymbol_Totem and Tile:UpdateTileSymbolCount]
    public void Embiggen(bool isLastOnTile)
    {
        print("Embiggening symbol " + id);
        gparent_totem.DeactivateOtherSymbols(id, tileNum, isLastOnTile);


        // Transform the symbol so that it takes up the entire tile's space
        transform.localScale    = new Vector3(1f, .1f, .7f);
        transform.localPosition = new Vector3(-(1f / perRow), .0001f, tileHeight / 4);
        isEmbiggened            = true;

        ggparent_gridSpace.UpdateEmbiggenedSymbols(index, id, true);
    }