Search Results for

    Show / Hide Table of Contents

    Class NavBullet

    Projectiles that travel endlessly until they collide with other objects.

    Inheritance
    object
    AxisMonoBehaviour
    AxisGameObject
    NavBullet
    Inherited Members
    AxisMonoBehaviour.ContainsLabel(string)
    AxisMonoBehaviour.CountChildrenWithLabel(string, bool)
    AxisMonoBehaviour.ContainsLabelInChildren(string, bool)
    AxisMonoBehaviour.GetSpaceBetweenColliders(AxisMonoBehaviour)
    AxisMonoBehaviour.GetSpaceBetweenCollidersHorizontally(AxisMonoBehaviour)
    AxisMonoBehaviour.PauseGame()
    AxisMonoBehaviour.SetActiveByName(string)
    AxisMonoBehaviour.ResumeGame()
    AxisMonoBehaviour.GameTimeScaleSet(float)
    AxisMonoBehaviour.transform
    AxisMonoBehaviour.gameObject
    AxisMonoBehaviour.collider
    AxisMonoBehaviour.Origin
    AxisMonoBehaviour.OnTransformChildrenChanged()
    Namespace: Axis.Navigation
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class NavBullet : AxisGameObject

    Fields

    Bounciness

    Declaration
    public float Bounciness
    Field Value
    Type Description
    float

    Damage

    Damage to cause on ObjBreakables

    Declaration
    public int Damage
    Field Value
    Type Description
    int

    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
    Type Description
    Vector3

    HitContainingLabel

    Declaration
    public string HitContainingLabel
    Field Value
    Type Description
    string

    HitFirework

    Firework to burst when collider is hit

    Declaration
    public AxisFirework HitFirework
    Field Value
    Type Description
    AxisFirework

    HitMask

    Layer mask to hit

    Declaration
    public LayerMask HitMask
    Field Value
    Type Description
    LayerMask

    HitNumber

    Number of colliders hit until bullet disappear, 0 means infinite

    Declaration
    public int HitNumber
    Field Value
    Type Description
    int

    HitSolidBounce

    Declaration
    public bool HitSolidBounce
    Field Value
    Type Description
    bool

    HitTriggerBounce

    Declaration
    public bool HitTriggerBounce
    Field Value
    Type Description
    bool

    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

    Bullet Speed

    Declaration
    public float Speed
    Field Value
    Type Description
    float

    TimeToLive

    Time for this bullet to die spontaneously. Default: 0, no countdown.

    Declaration
    public float TimeToLive
    Field Value
    Type Description
    float

    WindDirection

    Declaration
    public Vector3 WindDirection
    Field Value
    Type Description
    Vector3

    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
    In This Article
    Back to top Axis 1.0.0