Свойство | Type | Description | |
---|---|---|---|
DeathSound | |||
PlayerSeen | |||
Poof | GameObject | ||
charging | bool | ||
mobFacingRight | bool | ||
pause | bool | ||
speed | float | ||
targetDist | float | ||
wallDist | float | ||
whatIsTarget | LayerMask | ||
whatIsWall | LayerMask |
Méthode | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
Flip ( ) : void | ||
Movement ( Ray2D ry ) : void | ||
OnCollisionEnter2D ( Collision2D other ) : void | ||
OnDeath ( ) : void | ||
OnRespawn ( ) : void | ||
OnTriggerEnter2D ( |
||
PrepareToCharge ( float num ) : IEnumerator | ||
Recovering ( float num ) : IEnumerator | ||
Seek ( Ray2D ry ) : void | ||
Start ( ) : void | ||
Stunned ( float num ) : IEnumerator |
public OnCollisionEnter2D ( Collision2D other ) : void | ||
other | Collision2D | |
Résultat | void |
public OnTriggerEnter2D ( |
||
other | ||
Résultat | void |
public PrepareToCharge ( float num ) : IEnumerator | ||
num | float | |
Résultat | IEnumerator |
public Recovering ( float num ) : IEnumerator | ||
num | float | |
Résultat | IEnumerator |
public AudioClip,UnityEngine DeathSound | ||
Résultat |
public AudioClip,UnityEngine PlayerSeen | ||
Résultat |