Table of Contents

Class Projectile

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class Projectile : MonoBehaviour
Inheritance
Projectile
Inherited Members
Extension Methods

Constructors

Projectile()

public Projectile()

Fields

damage

public float damage

Field Value

float

fall

public float fall

Field Value

float

force

public float force

Field Value

float

gravity

public float gravity

Field Value

float

hitAction

public Action<RaycastHit> hitAction

Field Value

Action<RaycastHit>

ignoredRoots

public List<Transform> ignoredRoots

Field Value

List<Transform>

layerType

public HelperFunctions.LayerType layerType

Field Value

HelperFunctions.LayerType

postHitAction

public Action<RaycastHit> postHitAction

Field Value

Action<RaycastHit>

postHitBehavior

public Projectile.PostHitBehaviour postHitBehavior

Field Value

Projectile.PostHitBehaviour

upVelocity

public float upVelocity

Field Value

float

vel

public Vector3 vel

Field Value

Vector3

velocity

public float velocity

Field Value

float

Methods

Hit(RaycastHit)

public void Hit(RaycastHit hit)

Parameters

hit RaycastHit

Ignore(Transform, float)

public void Ignore(Transform rootToIgnore, float seconds)

Parameters

rootToIgnore Transform
seconds float

PostHit(RaycastHit)

public void PostHit(RaycastHit hit)

Parameters

hit RaycastHit

Start()

public void Start()

Update()

public void Update()