C# Class ScorpionController, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
Afficher le fichier Open project: bi3mer/gmap377_leathGloves_inc Class Usage Examples

Protected Properties

Свойство Type Description
hasSpawned bool

Méthodes publiques

Méthode Description
FixedUpdate ( ) : void

Update animation

Spawn ( ) : void

Set the animator to spawn the scorpion

Start ( ) : void

Grab the correct animator

Private Methods

Méthode 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 méthode

Update animation
public FixedUpdate ( ) : void
Résultat void

Spawn() public méthode

Set the animator to spawn the scorpion
public Spawn ( ) : void
Résultat void

Start() public méthode

Grab the correct animator
public Start ( ) : void
Résultat void

Property Details

hasSpawned protected_oe property

protected bool hasSpawned
Résultat bool