ISelectClickHandler

Interface to handle select button click.

MethodDescription

OnSelectClicked

Called 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.BaseInputModule

currentInputModule

Get the currently active Input Module

GameObject

selectedObject

Get the currently selected object

int

TapCount

Get the tap count

Last updated