Свойство | Type | Description | |
---|---|---|---|
TrailAlpha | float | ||
accelerationSpeed | float | ||
areaOfEffect | float | ||
bulletCasingPrefab | GameObject | ||
homing | float | ||
layerMask | LayerMask | ||
lifetime | float | ||
recoil | float | ||
skinWidth | float | ||
speed | float | ||
target | Transform |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
DoDamageTo ( Transform t, Vector3 point ) : bool |
public Collide ( Transform trans, Vector3 point, Vector3 normal ) : void | ||
trans | Transform | |
point | Vector3 | |
normal | Vector3 | |
Résultat | void |
public DoRecoil ( Vector3 point, bool playerWasHit ) : void | ||
point | Vector3 | |
playerWasHit | bool | |
Résultat | void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
Résultat | void |
public OnCollisionStay ( Collision collision ) : void | ||
collision | Collision | |
Résultat | void |
public uLink_OnNetworkInstantiate ( uLink info ) : void | ||
info | uLink | |
Résultat | void |