Property | Type | Description | |
---|---|---|---|
DeathSound | |||
PlayerFoundSound | |||
Poof | GameObject | ||
locs | Vector2[] | ||
mobFacingRight | bool | ||
respawn | bool | ||
speed | float | ||
targetRange | float |
Property | Type | Description | |
---|---|---|---|
ArrayDir | int | ||
Pos | int | ||
startScale | Vector3 |
Method | Description | |
---|---|---|
DistanceBetween ( Vector2 pos1, Vector2 pos2 ) : float | ||
Flip ( ) : void | ||
MoveBetweenPoints ( Vector2 p ) : bool | ||
OnCollisionEnter2D ( Collision2D other ) : void | ||
OnDeath ( ) : void | ||
OnDrawGizmos ( ) : void | ||
OnRespawn ( ) : void | ||
OnTriggerEnter2D ( |
||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
SmartMove ( Vector3 oldPos, Vector3 moveToPos, float moveDist ) : void |
public DistanceBetween ( Vector2 pos1, Vector2 pos2 ) : float | ||
pos1 | Vector2 | |
pos2 | Vector2 | |
return | float |
public MoveBetweenPoints ( Vector2 p ) : bool | ||
p | Vector2 | |
return | bool |
public OnCollisionEnter2D ( Collision2D other ) : void | ||
other | Collision2D | |
return | void |
public OnTriggerEnter2D ( |
||
other | ||
return | void |
public AudioClip,UnityEngine PlayerFoundSound | ||
return |