Ejemplo n.º 1
0
    public void SetTile(MapToolTileType type)
    {
        this.type = type;

        this.GetComponent<UISprite>().spriteName = type.ToString();
        this.name = type.ToString();
    }