void Start() { _tileMap = GetComponent<TileMap> (); _generateZone = GetComponent < generateZone >(); myHoverObject = (GameObject) Instantiate (Resources.Load("Tile"), new Vector3 (0, 0, 0), Quaternion.identity); generate = false; zoning = true; currentColor = "blue"; }
void Start() { _tileMap = GetComponent <TileMap> (); _generateZone = GetComponent <generateZone>(); myHoverObject = (GameObject)Instantiate(Resources.Load("Tile"), new Vector3(0, 0, 0), Quaternion.identity); generate = false; zoning = true; currentColor = "blue"; }
void Start() { _tileMap = GetComponent<TileMap> (); _generateZone = GetComponent < generateZone >(); //myHoverObject = (GameObject) Instantiate (Resources.Load("Tile"), new Vector3 (0, 0, 0), Quaternion.identity); generate = false; zoning = true; currentColor = "blue"; BuildingDatabase = new List<GameObject>(); _GUIController = GameObject.Find ("Canvas").GetComponent<GUIController> (); notificationController = GameObject.Find("NotificationController").GetComponent<NotificationController>(); }