Свойство | Тип | Описание | |
---|---|---|---|
damage | int | ||
damageToSelf | int |
Метод | Описание | |
---|---|---|
HitObject ( GameObject theObject ) : void | ||
OnCollisionEnter ( Collision collision ) : void | ||
OnTriggerEnter ( Collider collider ) : void |
public HitObject ( GameObject theObject ) : void | ||
theObject | GameObject | |
Результат | void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
Результат | void |
public OnTriggerEnter ( Collider collider ) : void | ||
collider | Collider | |
Результат | void |