編輯

共用方式為


KeyboardTest Class

Definition

This component links the NonNativeKeyboard to a TMP_InputField Put it on the TMP_InputField and assign the NonNativeKeyboard.prefab

public ref class KeyboardTest : UnityEngine::MonoBehaviour, UnityEngine::EventSystems::IPointerDownHandler
[UnityEngine.RequireComponent(typeof(TMPro.TMP_InputField))]
public class KeyboardTest : UnityEngine.MonoBehaviour, UnityEngine.EventSystems.IPointerDownHandler
[<UnityEngine.RequireComponent(typeof(TMPro.TMP_InputField))>]
type KeyboardTest = class
    inherit MonoBehaviour
    interface IPointerDownHandler
    interface IEventSystemHandler
Public Class KeyboardTest
Inherits MonoBehaviour
Implements IPointerDownHandler
Inheritance
UnityEngine.MonoBehaviour
KeyboardTest
Attributes
UnityEngine.RequireComponentAttribute
Implements
UnityEngine.EventSystems.IEventSystemHandler UnityEngine.EventSystems.IPointerDownHandler

Constructors

KeyboardTest()

Methods

OnPointerDown(PointerEventData)

Applies to