Property | Type | Description | |
---|---|---|---|
patrolDistance | float | ||
speed | float |
Method | Description | |
---|---|---|
FlipEnemy ( ) : void | ||
OnTriggerEnter2D ( |
||
Set ( Vector3 position, bool facingRight ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
SetInactive ( ) : IEnumerator |
public OnTriggerEnter2D ( |
||
col | ||
return | void |
public Set ( Vector3 position, bool facingRight ) : void | ||
position | Vector3 | |
facingRight | bool | |
return | void |