// Use this for initialization void Start() { tileInfoGUI = gameObject.AddComponent<TileInfoGUI>(); mapCamera = GameObject.Find("MapCamera").GetComponent<MapCamera>(); }
// Use this for initialization void Start() { tileInfoGUI = gameObject.AddComponent <TileInfoGUI>(); mapCamera = GameObject.Find("MapCamera").GetComponent <MapCamera>(); }