C# 클래스 Microsoft.MixedReality.Toolkit.Input.InputSystemGlobalHandlerListener

This component ensures that input events are forwarded to this component when focus or gaze is not required.
상속: MonoBehaviour
파일 보기 프로젝트 열기: microsoft/MixedReality-WorldLockingTools-Samples

보호된 메소드들

메소드 설명
EnsureInputSystemValid ( ) : Task

A task that will only complete when the input system has in a valid state.

It's possible for this object to have been destroyed after the await, which implies that callers should check that this != null after awaiting this task.

OnDisable ( ) : void
OnEnable ( ) : void
RegisterHandlers ( ) : void

Overload this method to specify, which global events component wants to listen to. Use RegisterHandler API of InputSystem

Start ( ) : void
UnregisterHandlers ( ) : void

Overload this method to specify, which global events component should stop listening to. Use UnregisterHandler API of InputSystem

메소드 상세

EnsureInputSystemValid() 보호된 메소드

A task that will only complete when the input system has in a valid state.

It's possible for this object to have been destroyed after the await, which implies that callers should check that this != null after awaiting this task.

protected EnsureInputSystemValid ( ) : Task
리턴 Task

OnDisable() 보호된 메소드

protected OnDisable ( ) : void
리턴 void

OnEnable() 보호된 메소드

protected OnEnable ( ) : void
리턴 void

RegisterHandlers() 보호된 추상적인 메소드

Overload this method to specify, which global events component wants to listen to. Use RegisterHandler API of InputSystem
protected abstract RegisterHandlers ( ) : void
리턴 void

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

UnregisterHandlers() 보호된 추상적인 메소드

Overload this method to specify, which global events component should stop listening to. Use UnregisterHandler API of InputSystem
protected abstract UnregisterHandlers ( ) : void
리턴 void