프로퍼티 | 타입 | 설명 | |
---|---|---|---|
customer | |||
moveControl | |||
supermarket |
메소드 | 설명 | |
---|---|---|
AnimationComplete ( ) : void |
Called when the customer's current animation is complete
|
|
CustomerState ( |
||
DestinationReached ( ) : void |
Called when the customer reaches its destination
|
|
Initialize ( ) : void |
Use this for logic that changes the customer's CustomerState object.
|
|
MoveCommand ( |
Called when the customer receives a move command
|
|
OnAwareOf ( |
||
OnInteract ( |
Called when the customer contacts another gameObject's collider
|
|
StopCoroutines ( ) : void |
Called prior to the state changing to clean up any coroutines that are running
|
|
Update ( ) : void |
Called each frame
|
public CustomerState ( |
||
customer | ||
리턴 | UnityEngine |
public MoveCommand ( |
||
destination | The destination the customer has been instructed to move to. | |
리턴 | void |
public OnInteract ( |
||
other | The gameObject the triggering collider is attached to | |
리턴 | void |