Свойство | Тип | Описание | |
---|---|---|---|
activeTime | float | ||
damageTime | float | ||
inactiveTime | float | ||
onHoldTime | float | ||
rend | SpriteRenderer | ||
sprites | Sprite[] | ||
state | State | ||
timeCounter | float |
Метод | Описание | |
---|---|---|
OnTriggerEnter2D ( Collider2D, other ) : void | ||
OnTriggerStay2D ( Collider2D, other ) : void | ||
SetActive ( ) : void | ||
SetInactive ( ) : void | ||
SetOnHold ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateActive ( ) : void | ||
UpdateInactive ( ) : void | ||
UpdateOnHold ( ) : void |
public OnTriggerEnter2D ( Collider2D, other ) : void | ||
other | Collider2D, | |
Результат | void |
public OnTriggerStay2D ( Collider2D, other ) : void | ||
other | Collider2D, | |
Результат | void |