示例#1
0
 private void Start()
 {
     player = GameObject.Find("FPSController");
     anim   = GetComponent <EnemyAnimation>();
     info   = GetComponent <EnemyStatusInfo>();
     ///ai = GetComponent<EnemyAI>();
 }
示例#2
0
 private void Start()
 {
     player = GameObject.Find("FPSController");
     info   = GetComponent <EnemyStatusInfo>();
     anim   = GetComponent <EnemyAnimation>();
     motor  = GetComponent <EnemyMotor>();
     gun    = GetComponentInChildren <Gun>();
 }