holopy3/Assets/Scripts/MyTile.cs

14 lines
291 B
C#
Raw Permalink Normal View History

2020-12-10 14:25:12 +00:00
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; }
}