Property | Type | Description | |
---|---|---|---|
activeSpeed | float | ||
anim | Animator | ||
counter | float | ||
defaultSpeed | float | ||
facingRight | bool | ||
fogLeft | GameObject | ||
fogRight | GameObject | ||
isCaught | bool | ||
killPlayer | bool | ||
movement | float | ||
originalPosition | Vector3 | ||
originalRotation | Quaternion | ||
shakeTrigger | float |
Method | Description | |
---|---|---|
FlipEnemy ( ) : void | ||
KillPlayer ( ) : void | ||
LateUpdate ( ) : void | ||
OnTriggerEnter2D ( |
||
PlayWhistle ( ) : void | ||
SetSpeed ( ) : void | ||
Start ( ) : void | ||
StopSpeed ( ) : void | ||
Update ( ) : void |
public OnTriggerEnter2D ( |
||
col | ||
return | void |