Example #1
0
 void Awake()
 {
     findClosest  = GetComponent <C_FindClosest>();
     moveTo       = GetComponent <C_MoveTo>();
     restoreStats = GetComponent <C_RestoreStats>();
     jobLogger    = GetComponent <C_Job_Logger>();
 }
Example #2
0
 void Awake()
 {
     stats       = GetComponent <C_Behavior>();
     findClosest = GetComponent <C_FindClosest>();
     moveTo      = GetComponent <C_MoveTo>();
 }