C# 클래스 UIKeyBinding, TheUnseen

상속: MonoBehaviour
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
action Action
keyCode KeyCode,
modifier Modifier,

공개 메소드들

메소드 설명
OnSubmit ( ) : void

Ignore the KeyUp message if the input field "ate" it.

Start ( ) : void

If we're bound to an input field, subscribe to its Submit notification.

Update ( ) : void

Process the key binding.

비공개 메소드들

메소드 설명
IsModifierActive ( ) : bool

Convenience function that checks whether the required modifier key is active.

메소드 상세

OnSubmit() 공개 메소드

Ignore the KeyUp message if the input field "ate" it.
public OnSubmit ( ) : void
리턴 void

Start() 공개 메소드

If we're bound to an input field, subscribe to its Submit notification.
public Start ( ) : void
리턴 void

Update() 공개 메소드

Process the key binding.
public Update ( ) : void
리턴 void

프로퍼티 상세

action 공개적으로 프로퍼티

Action to take with the specified key.
public Action action
리턴 Action

keyCode 공개적으로 프로퍼티

Key that will trigger the binding.
public KeyCode, keyCode
리턴 KeyCode,

modifier 공개적으로 프로퍼티

Modifier key that must be active in order for the binding to trigger.
public Modifier, modifier
리턴 Modifier,