Méthode | Description | |
---|---|---|
EnterState ( StatePatternCritter, activeCritter ) : UnityEngine | ||
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 |
Méthode | Description | |
---|---|---|
Enter ( ) : void | ||
SetDurations ( ) : void |
public EnterState ( StatePatternCritter, activeCritter ) : UnityEngine | ||
activeCritter | StatePatternCritter, | |
Résultat | UnityEngine |
public HandlePredator ( string source, StatePatternCritter, predator ) : void | ||
source | string | |
predator | StatePatternCritter, | |
Résultat | void |
public HandleResource ( Collider plantColl ) : void | ||
plantColl | Collider | |
Résultat | void |
public OnTriggerEnter ( Collider other ) : void | ||
other | Collider | |
Résultat | void |
public OnTriggerStay ( Collider other ) : void | ||
other | Collider | |
Résultat | void |
public ToFlightState ( StatePatternCritter, predator ) : void | ||
predator | StatePatternCritter, | |
Résultat | void |
public ToPursuitState ( StatePatternCritter, prey ) : void | ||
prey | StatePatternCritter, | |
Résultat | void |