Skip to main content

PointerEventHandler

A delegate in Root.Township, the global namespace.

Handler for Pointer.TargetChanged, given the pointer, the collider it points at and whether that target is valid.

Constructors​

MemberWhat it is
PointerEventHandler(object object, IntPtr method)Made by the compiler when you assign a method to this delegate; you don't call it directly.

Methods​

MemberWhat it is
virtual IAsyncResult BeginInvoke(Pointer pointer, Collider collider, bool isValid, 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(Pointer pointer, Collider collider, bool isValid)Calls every method on this delegate with these arguments.

Used in​

Members of other types that take, return or hold a PointerEventHandler: