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

        this.GetComponent<UISprite>().spriteName = type.ToString();
        this.name = type.ToString();
    }
Ejemplo n.º 2
0
 public void OnClickTileCheckBox(GameObject btn)
 {
     selectedType = (MapToolTileType)System.Enum.Parse(typeof(MapToolTileType), btn.name);
 }