SubmitEventRouter Class
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.
This is a helper class to allow you to call OnSubmit() on a UnityEngine.UI.Button or other control derived from UnityEngine.EventSystems.ISubmitHandler on this gameObject. It exposes a public function that can be bound in the Editor to a Unity Event.
public ref class SubmitEventRouter : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/SubmitEventRouter")]
public class SubmitEventRouter : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/SubmitEventRouter")>]
type SubmitEventRouter = class
inherit MonoBehaviour
Public Class SubmitEventRouter
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourSubmitEventRouter
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
SubmitEventRouter() |
Methods
Submit() |