Esempio n. 1
0
 private void Start()
 {
     _steerForPath = this.GetComponent <SteerForPath>();
 }
 private void OnEnable()
 {
     _unit         = this.GetComponent <UnitBase>();
     _steerForPath = _unit.GetComponent <SteerForPath>();
 }