Class NavBullet
Projectiles that travel endlessly until they collide with other objects.
Inheritance
object
NavBullet
Assembly: cs.temp.dll.dll
Syntax
public sealed class NavBullet : AxisGameObject
Fields
Bounciness
Declaration
Field Value
Damage
Damage to cause on ObjBreakables
Declaration
Field Value
DeathFirework
Firework to burst when this bullet dies after time
Declaration
public AxisFirework DeathFirework
Field Value
Type |
Description |
AxisFirework |
|
GravityDirection
Declaration
public Vector3 GravityDirection
Field Value
HitContainingLabel
Declaration
public string HitContainingLabel
Field Value
HitFirework
Firework to burst when collider is hit
Declaration
public AxisFirework HitFirework
Field Value
Type |
Description |
AxisFirework |
|
HitMask
Declaration
Field Value
Type |
Description |
LayerMask |
|
HitNumber
Number of colliders hit until bullet disappear, 0 means infinite
Declaration
Field Value
HitSolidBounce
Declaration
public bool HitSolidBounce
Field Value
HitTriggerBounce
Declaration
public bool HitTriggerBounce
Field Value
HitTriggers
Hitting triggers must be ignored?
Declaration
public QueryTriggerInteraction HitTriggers
Field Value
Type |
Description |
QueryTriggerInteraction |
|
OnBullet
Declaration
public BulletEvents OnBullet
Field Value
Type |
Description |
BulletEvents |
|
OnBulletHit
Object containing events dispatched by bullets
Declaration
public BulletHitEvents OnBulletHit
Field Value
Type |
Description |
BulletHitEvents |
|
Speed
Declaration
Field Value
TimeToLive
Time for this bullet to die spontaneously. Default: 0, no countdown.
Declaration
Field Value
WindDirection
Declaration
public Vector3 WindDirection
Field Value
Methods
GetDirection()
Override this function to change bullet travel.
Declaration
public Vector3 GetDirection()
Returns
Type |
Description |
Vector3 |
Vector3 direction to travel
|
SpeedFromPointableDrag(ObjPointable)
Declaration
public void SpeedFromPointableDrag(ObjPointable pointable)
Parameters
Type |
Name |
Description |
ObjPointable |
pointable |
|