// Use this for initialization void Start() { RoomImporter importer = new RoomImporter(); Room room = importer.loadRoom("Assets/TestLevel/DemoLevel.oel"); assembleRoom(room); Debug.Log ("Assembled?"); }
//Element currentElement; void Awake() { S = this; // put the tiles into a hashtable for quicker access when building the map foreach (tile t in tileKey) { map[t.character] = t; } }