Editar

Partilhar via


ReceiverBase(UnityEvent, String) Constructor

Definition

Constructs an interaction receiver that will raise unity event when triggered.

protected:
 ReceiverBase(UnityEngine::Events::UnityEvent ^ ev, System::String ^ name);
protected ReceiverBase (UnityEngine.Events.UnityEvent ev, string name);
new Microsoft.MixedReality.Toolkit.UI.ReceiverBase : UnityEngine.Events.UnityEvent * string -> Microsoft.MixedReality.Toolkit.UI.ReceiverBase
Protected Sub New (ev As UnityEvent, name As String)

Parameters

ev
UnityEngine.Events.UnityEvent

Unity event to invoke. Add more events in deriving class.

name
String

Name of the unity event that will get invoked (visible in editor).

Applies to