Property | Type | Description | |
---|---|---|---|
addSpeedX | float | ||
addSpeedY | float | ||
bark1 | |||
bark2 | |||
bark3 | |||
bark4 | |||
maxSpeedX | float | ||
maxSpeedY | float | ||
searchFreq | float | ||
target | GameObject | ||
wallCheckLength | float | ||
wallMask | LayerMask | ||
withinVertDist | float |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
Flip ( float moveH ) : void | ||
OnCollisionEnter2D ( Collision2D col ) : void | ||
OnDrawGizmos ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
bark ( ) : void | ||
changeTarget ( GameObject t ) : void | ||
follow ( ) : void | ||
isGrounded ( ) : bool | ||
updatePathOnce ( ) : void |
Method | Description | |
---|---|---|
attackOffCD ( ) : IEnumerator | ||
barkOffCD ( ) : IEnumerator | ||
nearWall ( ) : bool | ||
nodeBetweenTarget ( Vector2 node ) : bool | ||
notWithin ( ) : bool | ||
updatePath ( ) : IEnumerator |
public OnCollisionEnter2D ( Collision2D col ) : void | ||
col | Collision2D | |
return | void |