Свойство | Тип | Описание | |
---|---|---|---|
boltMaterial | Material | ||
cost | int | ||
damage | int | ||
duration | int | ||
isCurrent | bool | ||
staffMaterial | Material | ||
staffParticles | Material |
Свойство | Тип | Описание | |
---|---|---|---|
anim | Animator | ||
endTime | float | ||
player | GameObject | ||
playerControl | PlayerControl, | ||
shot | GameObject | ||
shotSpawn | Transform |
Метод | Описание | |
---|---|---|
Start ( ) : void | ||
castAnimation ( ) : void | ||
onEnemyHit ( GameObject other ) : void |
Метод | Описание | |
---|---|---|
Update ( ) : void | ||
doEffect ( ) : void |
public onEnemyHit ( GameObject other ) : void | ||
other | GameObject | |
Результат | void |