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