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