using System.Collections; using System.Collections.Generic; using UnityEngine; public class MyTile : MonoBehaviour { public enum TileType { Ground, Wall } public TileType type; public MyTile() { type = TileType.Wall; } public MyTile(TileType typus) { type = typus; } }