void Awake() { instance = this; }
public void GenerateMap(Vector2Int size, CustomTile[] tileArr) { MapGenerator mg = new MapGenerator(tileArr, size); Tiles = mg.MakeRooms(10); }