13 lines
291 B
C#
13 lines
291 B
C#
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; }
|
|
|
|
}
|