Skip to main content

ISelectClickHandler

Interface to handle select button click.

MethodDescription
OnSelectClickedCalled when select button is clicked
using JMRSDK.InputModule;
using UnityEngine;
public class InterfaceExample: MonoBehaviour, ISelectClickHandler
{
public void OnSelectClicked(SelectClickEventData eventData)
{
Debug.Log("OnSelectClicked");
}
}

SelectClickEventData

DatatypeVariableDescription
EventSystems.BaseInputModulecurrentInputModuleGet the currently active Input Module
GameObjectselectedObjectGet the currently selected object
intTapCountGet the tap count