public void StartToWanderAround(AIAgent owner, function_SAL_SAC fss, float timeForWander) { _SpActionIsEnd = fss; _owner = owner; _wanderTimeOverride = timeForWander; StartCoroutine(WANDER_AROUND_PLAYER()); }
public void StopWanderAround() { _SpActionIsEnd = null; StopAllCoroutines(); }
protected override void FirstInit() { _circleInnerSqrt = _circleInner * _circleInner; _circleOuterSqrt = _circleOuter * _circleOuter; _SpActionIsEnd = null; }
protected override void OnDestroy() { _SpActionIsEnd = null; }