C# Class Boss2Movement, scriptcaster

Inheritance: MonoBehaviour
Mostra file Open project: crazymeeshu/scriptcaster

Public Properties

Property 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

Public Methods

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

Private Methods

Method Description
WaitOnWall ( ) : IEnumerator
Waiting ( ) : IEnumerator

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Flip() public method

public Flip ( ) : void
return void

OnCollisionEnter2D() public method

public OnCollisionEnter2D ( Collision2D c ) : void
c Collision2D
return void

Pursuit() public method

public Pursuit ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

checkForPlayer() public method

public checkForPlayer ( ) : void
return void

findTarget() public method

public findTarget ( ) : void
return void

shoot() public method

public shoot ( ) : void
return void

Property Details

Boss public_oe property

public GameObject Boss
return GameObject

Fighting public_oe property

public bool Fighting
return bool

Lazer public_oe property

public GameObject Lazer
return GameObject

Player public_oe property

public GameObject Player
return GameObject

Target public_oe property

public Vector2 Target
return Vector2

facingLeft public_oe property

public bool facingLeft
return bool

facingPlayer public_oe property

public bool facingPlayer
return bool

firing public_oe property

public bool firing
return bool

groundchecker public_oe property

public Transform groundchecker
return Transform

isGrounded public_oe property

public bool isGrounded
return bool

lazerStartPos public_oe property

public GameObject lazerStartPos
return GameObject

leftTarget public_oe property

public GameObject leftTarget
return GameObject

moveSpeed public_oe property

public float moveSpeed
return float

movingTowardsPlayer public_oe property

public bool movingTowardsPlayer
return bool

rightTarget public_oe property

public GameObject rightTarget
return GameObject