ChiselHit
A delegate in Root.Township, Alta.Carpentry.
Callback for Chiselable.onHit: the damage, hit position and direction, the chisel tool and the collider that was hit.
- Listed in Crafting and making
- Inherits or implements
MulticastDelegate
Constructors
| Member | What it is |
|---|---|
ChiselHit(object object, IntPtr method) | Made by the compiler when you assign a method to this delegate; you don't call it directly. |
Methods
| Member | What it is |
|---|---|
virtual IAsyncResult BeginInvoke(float damage, Vector3 position, Vector3 direction, ChiselingTool tool, Collider hitCollider, AsyncCallback callback, object object) | Starts the call on another thread; not supported in Unity, so use Invoke. |
virtual void EndInvoke(IAsyncResult result) | Waits for a call started with BeginInvoke; not supported in Unity. |
virtual void Invoke(float damage, Vector3 position, Vector3 direction, ChiselingTool tool, Collider hitCollider) | Calls every method on this delegate with these arguments. |
Used in
Members of other types that take, return or hold a ChiselHit: