control
Determines if the Control key modifier is part of the key combination. Represents the Control key on Windows, macOS, and Linux.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor
public bool control { get; }
Remarks
For most cases it is best to use KeyCombination.action as it will bind the most appropriate action key for each particular platform.