Bearbeiten

Freigeben über


SubmitEventRouter Class

Definition

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.MonoBehaviour
SubmitEventRouter
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

SubmitEventRouter()

Methods

Submit()

Applies to