示例#1
0
 // Use this for initialization
 void Start()
 {
     theGameWorld = GameObject.Find("游戏世界控制器");
     glodata      = theGameWorld.GetComponent <GlobalDataFunc>();
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     thePlayer = GameObject.Find("游戏世界控制器");
     glodata   = thePlayer.GetComponent <GlobalDataFunc>();
 }