Class CollisionHandler
- Namespace
- Exiled.API.Features.Components
- Assembly
- Exiled.API.dll
Collision Handler for grenades.
public class CollisionHandler : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourCollisionHandler
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.useGUILayoutBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.transformComponent.gameObjectComponent.tagObject.GetInstanceID()Object.GetHashCode()Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectOfType<T>()Object.ToString()Object.nameObject.hideFlags
- Extension Methods
Properties
Grenade
Gets the grenade itself.
public EffectGrenade Grenade { get; }
Property Value
- EffectGrenade
Owner
Gets the thrower of the grenade.
public GameObject Owner { get; }
Property Value
- GameObject
Methods
Init(GameObject, ThrownProjectile)
Inits the CollisionHandler object.
public void Init(GameObject owner, ThrownProjectile grenade)
Parameters
owner
GameObjectThe grenade owner.
grenade
ThrownProjectileThe grenade component.