ReceiverBase(UnityEvent, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).