示例#1
0
 void Awake()
 {
     stats       = GetComponent <C_Behavior>();
     findClosest = GetComponent <C_FindClosest>();
     moveTo      = GetComponent <C_MoveTo>();
 }
示例#2
0
 void Awake()
 {
     stats = GetComponent <C_Behavior>();
 }