Documentation

Unity Engine

Download Unity

Unity Engine

actionKey

Gets a boolean value that indicates whether the platform-specific action key is pressed.
Read time 1 minuteLast updated a month ago

Definition

public bool actionKey { get; }

Remarks

The platform-specific action key is Cmd on macOS, and Ctrl on all other platforms.