Class Projectile
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class Projectile : MonoBehaviour
- Inheritance
-
Projectile
- Inherited Members
-
- Extension Methods
-
Constructors
Projectile()
Fields
damage
Field Value
- float
fall
Field Value
- float
force
Field Value
- 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
Field Value
- float
vel
Field Value
- Vector3
velocity
Field Value
- float
Methods
Hit(RaycastHit)
public void Hit(RaycastHit hit)
Parameters
hit
RaycastHit
public void Ignore(Transform rootToIgnore, float seconds)
Parameters
rootToIgnore
Transform
seconds
float
PostHit(RaycastHit)
public void PostHit(RaycastHit hit)
Parameters
hit
RaycastHit
Start()
Update()