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