⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Interface IProjectile

    Namespace: NeoFPS.ModularFirearms
    Assembly: NeoFPS.dll
    Syntax
    public interface IProjectile

    Properties

    gameObject

    Declaration
    GameObject gameObject { get; }
    Property Value
    Type Description
    GameObject

    Methods

    Fire(Vector3, Vector3, Single, IAmmoEffect, Transform, LayerMask, IDamageSource, Boolean)

    Declaration
    void Fire(Vector3 position, Vector3 velocity, float gravity, IAmmoEffect effect, Transform ignoreRoot, LayerMask layers, IDamageSource damageSource = null, bool wait1 = false)
    Parameters
    Type Name Description
    Vector3 position
    Vector3 velocity
    System.Single gravity
    IAmmoEffect effect
    Transform ignoreRoot
    LayerMask layers
    IDamageSource damageSource
    System.Boolean wait1

    Teleport(Vector3, Quaternion, Boolean)

    Declaration
    void Teleport(Vector3 position, Quaternion rotation, bool relativeRotation = true)
    Parameters
    Type Name Description
    Vector3 position
    Quaternion rotation
    System.Boolean relativeRotation

    Events

    onHit

    Declaration
    event UnityAction onHit
    Event Type
    Type Description
    UnityAction

    onTeleported

    Declaration
    event UnityAction onTeleported
    Event Type
    Type Description
    UnityAction
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX