示例#1
0
 void Start()
 {
     controller     = GetComponent <ObjectStuff>();
     animator       = GetComponent <Animator>();
     gameController = GameObject.Find("GameController");
     gameController.GetComponent <GameController>().setStartValue(health);
 }
示例#2
0
 void Start()
 {
     controller     = GetComponent <ObjectStuff>();
     animator       = gameObject.GetComponent <Animator>();
     gameController = GameObject.Find("GameController");
 }