Метод | Описание | |
---|---|---|
HandleHerbivore ( StatePatternCritter, herbivore ) : void | ||
HandlePredator ( string source, StatePatternCritter, predator ) : void | ||
HandleResource ( Collider plantColl ) : void | ||
Look ( ) : void | ||
OnTriggerEnter ( Collider other ) : void | ||
OnTriggerStay ( Collider other ) : void | ||
ToEnterState ( ) : void | ||
ToExitState ( ) : void | ||
ToFlightState ( StatePatternCritter, predator ) : void | ||
ToForageState ( ) : void | ||
ToIdleState ( ) : void | ||
ToPursuitState ( StatePatternCritter, prey ) : void | ||
ToWanderState ( ) : void | ||
UpdateState ( ) : void | ||
WanderState ( StatePatternCritter, activeCritter ) : UnityEngine |
Метод | Описание | |
---|---|---|
ReturnToOrigin ( ) : void | ||
SetDurations ( ) : void | ||
Wander ( ) : void |
public HandleHerbivore ( StatePatternCritter, herbivore ) : void | ||
herbivore | StatePatternCritter, | |
Результат | void |
public HandlePredator ( string source, StatePatternCritter, predator ) : void | ||
source | string | |
predator | StatePatternCritter, | |
Результат | void |
public HandleResource ( Collider plantColl ) : void | ||
plantColl | Collider | |
Результат | void |
public OnTriggerEnter ( Collider other ) : void | ||
other | Collider | |
Результат | void |
public OnTriggerStay ( Collider other ) : void | ||
other | Collider | |
Результат | void |
public ToFlightState ( StatePatternCritter, predator ) : void | ||
predator | StatePatternCritter, | |
Результат | void |
public ToPursuitState ( StatePatternCritter, prey ) : void | ||
prey | StatePatternCritter, | |
Результат | void |
public WanderState ( StatePatternCritter, activeCritter ) : UnityEngine | ||
activeCritter | StatePatternCritter, | |
Результат | UnityEngine |