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