Search Results for

    Show / Hide Table of Contents

    Class GDXShortcutAttribute

    Inheritance
    System.Object
    System.Attribute
    UnityEditor.ShortcutManagement.ShortcutBaseAttribute
    UnityEditor.ShortcutManagement.ShortcutAttribute
    GDXShortcutAttribute
    Implements
    System.Runtime.InteropServices._Attribute
    Inherited Members
    UnityEditor.ShortcutManagement.ShortcutAttribute.displayName
    Namespace: GDX.Editor
    Syntax
    public class GDXShortcutAttribute : ShortcutAttribute, _Attribute

    Constructors

    | Improve this Doc View Source

    GDXShortcutAttribute(String, KeyCode, ShortcutModifiers, Type)

    GDXShortcutAttribute Constructor

    Declaration
    public GDXShortcutAttribute(string id, KeyCode defaultKeyCode, ShortcutModifiers defaultShortcutModifiers = ShortcutModifiers.None, Type context = null)
    Parameters
    Type Name Description
    System.String id

    Id to register the shortcut. It will automatically be prefix by 'GDX/' in order to be in the 'GDX' section of the shortcut manager.

    UnityEngine.KeyCode defaultKeyCode

    Optional key code for default binding.

    UnityEditor.ShortcutManagement.ShortcutModifiers defaultShortcutModifiers

    Optional shortcut modifiers for default binding.

    System.Type context

    Any context which limits the use of the shortcut.

    Implements

    System.Runtime.InteropServices._Attribute
    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.