Свойство | Тип | Описание | |
---|---|---|---|
blockChecker | Transform | ||
detectPlayer | bool | ||
detector | GameObject | ||
facingLeft | bool | ||
groundChecker | Transform | ||
inPursuit | bool | ||
isBlocked | bool | ||
isGrounded | bool | ||
patrolDistance | float | ||
patrolSpeed | float | ||
pursuitSpeed | float |
Метод | Описание | |
---|---|---|
FixedUpdate ( ) : void | ||
Flip ( ) : void | ||
OnCollisionEnter2D ( Collision2D coll ) : void | ||
Patrol ( ) : void | ||
Pursuit ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Метод | Описание | |
---|---|---|
delayChange ( ) : IEnumerator |
public OnCollisionEnter2D ( Collision2D coll ) : void | ||
coll | Collision2D | |
Результат | void |