Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


INavigationEvent

Interface for all navigation events.
Read time 1 minuteLast updated 4 days ago

Definition

public interface INavigationEvent

Properties

Property

Description

actionKeyGets a boolean value that indicates whether the platform-specific action key is pressed. True means the action key is pressed. False means it isn't.
altKeyGets a boolean value that indicates whether the Alt key is pressed. True means the Alt key is pressed. False means it isn't.
commandKeyGets a boolean value that indicates whether the Windows/Cmd key is pressed. True means the Windows/Cmd key is pressed. False means it isn't.
ctrlKeyGets a boolean value that indicates whether the Ctrl key is pressed. True means the Ctrl key is pressed. False means it isn't.
modifiersGets flags that indicate whether modifier keys (Alt, Ctrl, Shift, Windows/Cmd) are pressed.
shiftKeyGets a boolean value that indicates whether the Shift key is pressed. True means the Shift key is pressed. False means it isn't.