Свойство | Type | Description | |
---|---|---|---|
Boss | GameObject | ||
Fighting | bool | ||
Lazer | GameObject | ||
Player | GameObject | ||
Target | Vector2 | ||
facingLeft | bool | ||
facingPlayer | bool | ||
firing | bool | ||
groundchecker | Transform | ||
isGrounded | bool | ||
lazerStartPos | GameObject | ||
leftTarget | GameObject | ||
moveSpeed | float | ||
movingTowardsPlayer | bool | ||
rightTarget | GameObject |
Méthode | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
Flip ( ) : void | ||
OnCollisionEnter2D ( Collision2D c ) : void | ||
Pursuit ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
checkForPlayer ( ) : void | ||
findTarget ( ) : void | ||
shoot ( ) : void |
Méthode | Description | |
---|---|---|
WaitOnWall ( ) : IEnumerator | ||
Waiting ( ) : IEnumerator |
public OnCollisionEnter2D ( Collision2D c ) : void | ||
c | Collision2D | |
Résultat | void |