Méthode | Description | |
---|---|---|
FlightState ( StatePatternCritter, activeCritter ) : System.Collections | ||
HandlePredator ( StatePatternCritter, predator ) : 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 | |
---|---|---|
Flee ( ) : void | ||
SetToAvoid ( ) : void |
public FlightState ( StatePatternCritter, activeCritter ) : System.Collections | ||
activeCritter | StatePatternCritter, | |
Résultat | System.Collections |
public HandlePredator ( StatePatternCritter, predator ) : void | ||
predator | StatePatternCritter, | |
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 |