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