docs.unity3d.com
    Show / Hide Table of Contents

    Class MuseShortcut

    Inheritance
    Object
    MuseShortcut
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Muse.Common
    Syntax
    public class MuseShortcut

    Constructors

    MuseShortcut(String, Action, KeyCode, KeyModifier, VisualElement)

    Muse Shortcut

    Declaration
    public MuseShortcut(string id, Action action, KeyCode keyCode, KeyModifier keyModifier = KeyModifier.None, VisualElement source = null)
    Parameters
    Type Name Description
    String id

    Shortcut id

    Action action

    Shortcut action

    KeyCode keyCode

    Shortcut keycode

    KeyModifier keyModifier

    Shortcut key modifier

    VisualElement source

    Shortcut source panel

    Fields

    action

    Declaration
    public readonly Action action
    Field Value
    Type Description
    Action

    id

    Declaration
    public readonly string id
    Field Value
    Type Description
    String

    keyCode

    Declaration
    public readonly KeyCode keyCode
    Field Value
    Type Description
    KeyCode

    keyModifier

    Declaration
    public readonly KeyModifier keyModifier
    Field Value
    Type Description
    KeyModifier

    source

    Source element related to the shortcut. Used to detect which panel to apply shortcut to.

    Declaration
    public readonly VisualElement source
    Field Value
    Type Description
    VisualElement
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023