Свойство | Тип | Описание | |
---|---|---|---|
TrailAlpha | float | ||
accelerationSpeed | float | ||
areaOfEffect | float | ||
bulletCasingPrefab | GameObject | ||
homing | float | ||
layerMask | LayerMask | ||
lifetime | float | ||
recoil | float | ||
skinWidth | float | ||
speed | float | ||
target | Transform |
Метод | Описание | |
---|---|---|
Collide ( Transform trans, Vector3 point, Vector3 normal ) : void | ||
DoRecoil ( Vector3 point, bool playerWasHit ) : void | ||
FixedUpdate ( ) : void | ||
OnCollisionEnter ( Collision collision ) : void | ||
OnCollisionStay ( Collision collision ) : void | ||
uLink_OnNetworkInstantiate ( uLink info ) : void |
Метод | Описание | |
---|---|---|
DoDamageTo ( Transform t, Vector3 point ) : bool |
public Collide ( Transform trans, Vector3 point, Vector3 normal ) : void | ||
trans | Transform | |
point | Vector3 | |
normal | Vector3 | |
Результат | void |
public DoRecoil ( Vector3 point, bool playerWasHit ) : void | ||
point | Vector3 | |
playerWasHit | bool | |
Результат | void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
Результат | void |
public OnCollisionStay ( Collision collision ) : void | ||
collision | Collision | |
Результат | void |
public uLink_OnNetworkInstantiate ( uLink info ) : void | ||
info | uLink | |
Результат | void |