C# Class ScorpionController, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
显示文件 Open project: bi3mer/gmap377_leathGloves_inc Class Usage Examples

Protected Properties

Property Type Description
hasSpawned bool

Public Methods

Method Description
FixedUpdate ( ) : void

Update animation

Spawn ( ) : void

Set the animator to spawn the scorpion

Start ( ) : void

Grab the correct animator

Private Methods

Method Description
attackWithLaser ( ) : void

Run necessary functions to attack wtih laser

attackWithMelee ( ) : void

Run necessary functions to attack wtih melee

delayTransformChange ( ) : IEnumerator

Delay time for scorpion spawning animation

resetBool ( string variable ) : void

Reset a bool variable in the animator

spawnLaser ( ) : void

Spawn laser beam at point

startMovingMelee ( ) : IEnumerator

Starts the moving again after time

Method Details

FixedUpdate() public method

Update animation
public FixedUpdate ( ) : void
return void

Spawn() public method

Set the animator to spawn the scorpion
public Spawn ( ) : void
return void

Start() public method

Grab the correct animator
public Start ( ) : void
return void

Property Details

hasSpawned protected_oe property

protected bool hasSpawned
return bool