Esempio n. 1
0
 private void OnEnable()
 {
     // Get references to unit and the steering scanner
     _unit    = this.GetComponent <UnitBase>();
     _scanner = this.GetComponent <SteeringScanner>();
 }
Esempio n. 2
0
 private void OnEnable()
 {
     _unit    = this.GetComponent <UnitBase>();
     _scanner = this.GetComponent <SteeringScanner>();
 }