Property | Type | Description | |
---|---|---|---|
animator | Animator | ||
currentFearRating | float | ||
fadeTime | float | ||
fearImmunityMax | float | ||
m_groundCheck | Transform | ||
m_grounded | bool | ||
maxFearRating | float | ||
maxSpeed | float | ||
reactionDelay | float | ||
scareRating | float | ||
sprite | SpriteRenderer | ||
whatIsGround | LayerMask |
Method | Description | |
---|---|---|
Alert ( Vector3 source, bool lure, int floor, bool useDelay = true ) : void | ||
EvacuateHouse ( ) : void | ||
GetAlertFloor ( ) : int | ||
GetCurrentFloor ( ) : int | ||
GetFearRating ( ) : float | ||
GetTarget ( ) : Vector3 | ||
IsFleeing ( ) : bool | ||
IsLured ( ) : bool | ||
IsScared ( ) : bool | ||
SetDirection ( ) : void | ||
Teleport ( Vector3 destination, int newFloor ) : void |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
Flip ( ) : void | ||
FreezeVelocity ( ) : void | ||
OnPause ( ) : void | ||
OnResume ( ) : void | ||
OnTriggerEnter2D ( |
||
Start ( ) : void | ||
UnFreezeVelocity ( ) : void | ||
Update ( ) : void |
public Alert ( Vector3 source, bool lure, int floor, bool useDelay = true ) : void | ||
source | Vector3 | |
lure | bool | |
floor | int | |
useDelay | bool | |
return | void |
public Teleport ( Vector3 destination, int newFloor ) : void | ||
destination | Vector3 | |
newFloor | int | |
return | void |