C# Class Boss2Movement, scriptcaster

Inheritance: MonoBehaviour
Afficher le fichier Open project: crazymeeshu/scriptcaster

Méthodes publiques

Свойство 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éthodes publiques

Méthode Description
FixedUpdate ( ) : void
Flip ( ) : void
OnCollisionEnter2D ( Collision2D c ) : void
Pursuit ( ) : void
Start ( ) : void
Update ( ) : void
checkForPlayer ( ) : void
findTarget ( ) : void
shoot ( ) : void

Private Methods

Méthode Description
WaitOnWall ( ) : IEnumerator
Waiting ( ) : IEnumerator

Method Details

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

Flip() public méthode

public Flip ( ) : void
Résultat void

OnCollisionEnter2D() public méthode

public OnCollisionEnter2D ( Collision2D c ) : void
c Collision2D
Résultat void

Pursuit() public méthode

public Pursuit ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

checkForPlayer() public méthode

public checkForPlayer ( ) : void
Résultat void

findTarget() public méthode

public findTarget ( ) : void
Résultat void

shoot() public méthode

public shoot ( ) : void
Résultat void

Property Details

Boss public_oe property

public GameObject Boss
Résultat GameObject

Fighting public_oe property

public bool Fighting
Résultat bool

Lazer public_oe property

public GameObject Lazer
Résultat GameObject

Player public_oe property

public GameObject Player
Résultat GameObject

Target public_oe property

public Vector2 Target
Résultat Vector2

facingLeft public_oe property

public bool facingLeft
Résultat bool

facingPlayer public_oe property

public bool facingPlayer
Résultat bool

firing public_oe property

public bool firing
Résultat bool

groundchecker public_oe property

public Transform groundchecker
Résultat Transform

isGrounded public_oe property

public bool isGrounded
Résultat bool

lazerStartPos public_oe property

public GameObject lazerStartPos
Résultat GameObject

leftTarget public_oe property

public GameObject leftTarget
Résultat GameObject

moveSpeed public_oe property

public float moveSpeed
Résultat float

movingTowardsPlayer public_oe property

public bool movingTowardsPlayer
Résultat bool

rightTarget public_oe property

public GameObject rightTarget
Résultat GameObject