Method | Description | |
---|---|---|
ExitState ( StatePatternCritter, activeCritter ) : System.Collections | ||
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 |
Method | Description | |
---|---|---|
HeadOut ( ) : void |
public ExitState ( StatePatternCritter, activeCritter ) : System.Collections | ||
activeCritter | StatePatternCritter, | |
return | System.Collections |
public OnTriggerEnter ( Collider other ) : void | ||
other | Collider | |
return | void |
public OnTriggerStay ( Collider other ) : void | ||
other | Collider | |
return | void |
public ToFlightState ( StatePatternCritter, predator ) : void | ||
predator | StatePatternCritter, | |
return | void |
public ToPursuitState ( StatePatternCritter, prey ) : void | ||
prey | StatePatternCritter, | |
return | void |