Свойство | Тип | Описание | |
---|---|---|---|
aggroDist | float | ||
coward | Coward, | ||
deAggroDist | float | ||
idleDuration | float | ||
melee | Melee, | ||
moveDuration | float | ||
ranged | Ranged, | ||
speed | float |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
CowardRun ( ) : void | ||
IdleMovement ( ) : void | ||
MeleeAttack ( ) : void | ||
MoveTo ( Vector3 moveTo ) : void | ||
OnTriggerEnter2D ( |
||
OnTriggerExit2D ( |
||
RangedAttack ( ) : void | ||
Start ( ) : void | ||
Stun ( GameObject loser ) : void | ||
Update ( ) : void | ||
enemyActive ( bool a ) : void | ||
toggleAggro ( bool isAggro ) : void |
public OnTriggerEnter2D ( |
||
collided | ||
Результат | void |
public OnTriggerExit2D ( |
||
collided | ||
Результат | void |
public toggleAggro ( bool isAggro ) : void | ||
isAggro | bool | |
Результат | void |