C# Класс ScorpionController, gmap377_leathGloves_inc

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
hasSpawned bool

Открытые методы

Метод Описание
FixedUpdate ( ) : void

Update animation

Spawn ( ) : void

Set the animator to spawn the scorpion

Start ( ) : void

Grab the correct animator

Приватные методы

Метод Описание
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

Описание методов

FixedUpdate() публичный Метод

Update animation
public FixedUpdate ( ) : void
Результат void

Spawn() публичный Метод

Set the animator to spawn the scorpion
public Spawn ( ) : void
Результат void

Start() публичный Метод

Grab the correct animator
public Start ( ) : void
Результат void

Описание свойств

hasSpawned защищенное свойство

protected bool hasSpawned
Результат bool