Scylla Framework
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Scylla.Input
      • AutoResolveChange
      • AutoResolveResult
      • BindingConflict
      • BindingStorageSettings
      • BindingStorageType
      • BridgeSettings
      • BufferedInput
      • ConfigActionEntry
      • ConfigActionGroup
      • ConfigBindingEntry
      • ConfigConflict
      • ConfigGroupExclusion
      • ConfigLayout
      • ConfigLayout.Builder
      • ConfigLayoutColumnDefinition
      • ConfigLayoutConflictScope
      • ConfigLayoutDefinition
      • ConfigLayoutExclusionDefinition
      • ConfigLayoutGroupDefinition
      • ConfigLayoutGroupMode
      • ConfigLayoutMemberReference
      • ConfigLayoutValidationMessage
      • ConfigLayoutValidationSeverity
      • ConfigSchemeGroup
      • ContextConflictScope
      • ContextValidationMessage
      • ContextValidationSeverity
      • ControlScheme
      • ControlSchemeChangedEvent
      • ControlSchemeManager
      • ControlSchemeType
      • GamepadButton
      • GamepadType
      • IBindingStorage
      • IControlSchemeManager
      • IInputActionManager
      • IInputBindingManager
      • IInputBridgeManager
      • IInputBufferManager
      • IInputConflictScope
      • IInputContextManager
      • IInputControlAliasResolver
      • IInputHintsManager
      • IInputListener
      • IInputRebindabilityProvider
      • IScyllaInputBridge
      • IdentityControlAliasResolver
      • InputActionCanceledEvent
      • InputActionManager
      • InputActionMapNode
      • InputActionMetadata
      • InputActionNode
      • InputActionPerformedEvent
      • InputActionStartedEvent
      • InputActionsDocument
      • InputActionsDocumentIO
      • InputActionsJSONKeys
      • InputAnnotation
      • InputAssetInfo
      • InputBindingGroups
      • InputBindingManager
      • InputBindingMetadata
      • InputBindingNode
      • InputBindingsLoadedEvent
      • InputBindingsSavedEvent
      • InputBridgeManager
      • InputBridgeQueryMode
      • InputBufferConsumedEvent
      • InputBufferManager
      • InputBufferedEvent
      • InputCodegenSettings
      • InputCompositeUtil
      • InputConflictEngine
      • InputConflictPair
      • InputConflictPolicy
      • InputConflictReason
      • InputConflictRecord
      • InputConflictRecordBuilder
      • InputConflictResolution
      • InputConflictSet
      • InputContext
      • InputContextChangedEvent
      • InputContextDefinition
      • InputContextExclusivity
      • InputContextManager
      • InputContextPoppedEvent
      • InputContextPushedEvent
      • InputControlAliasEntry
      • InputControlAliasResolver
      • InputControlAliasScope
      • InputControlPathUtil
      • InputControlSchemeNode
      • InputDeviceChangedEvent
      • InputDeviceConnectedEvent
      • InputDeviceDisconnectedEvent
      • InputDeviceType
      • InputDeviceUtil
      • InputDisabledEvent
      • InputEnabledEvent
      • InputEventType
      • InputHint
      • InputHintChangedEvent
      • InputHintsManager
      • InputIconSet
      • InputIconSet.IconMapping
      • InputIconSetChangedEvent
      • InputInteractionKind
      • InputInteractionResolver
      • InputInteractionSignature
      • InputJSONMember
      • InputJSONNode
      • InputJSONNodeReader
      • InputJSONNodeType
      • InputJSONNodeWriter
      • InputLoggingSettings
      • InputMapMetadata
      • InputMetadataRebindabilityProvider
      • InputMetadataReconciler
      • InputMetadataRecordKind
      • InputModifierMetadataUtil
      • InputOrphanRecord
      • InputRebindCancelledEvent
      • InputRebindCompletedEvent
      • InputRebindManager
      • InputRebindOperation
      • InputRebindStartedEvent
      • InputRebindUtils
      • InputRebindability
      • InputReconcileAction
      • InputReconcileOptions
      • InputReconcileReport
      • InputReconcileReport.Entry
      • InputSchemeDeviceNode
      • InputSchemeMetadata
      • JSONFileBindingStorage
      • ManagedRebindCancelledEvent
      • ManagedRebindCompletedEvent
      • ManagedRebindDataRefreshedEvent
      • ManagedRebindStartedEvent
      • PlayerPrefsBindingStorage
      • RebindMode
      • RebindSettings
      • ScyllaInput
      • ScyllaInput.Meta
      • ScyllaInputAction
      • ScyllaInputActionMap
      • ScyllaInputActionsMetadata
      • ScyllaInputActionsMetadataMigrator
      • ScyllaInputBinding
      • ScyllaInputConfiguration
      • ScyllaInputContextConfiguration
      • ScyllaKey
      • ScyllaKeyConverter
      • ScyllaModifier
      • UnityInputSystemBridge
    • Scylla.Input.Editor
      • DeviceStatusWidget
      • IconMappingDrawer
      • InputIconSetEditor
      • ScyllaInputActionsMetadataEditor
      • ScyllaInputConfigurationEditor
      • ScyllaInputContextConfigurationEditor
      • ScyllaInputDependencyProvider
      • ScyllaInputEditor
      • ScyllaInputGameProfile
      • ScyllaInputGameProfiles
      • ScyllaInputMenuItems
      • ScyllaInputWizard

    Class ScyllaInputMenuItems

    Defines Unity Editor menu items for creating and managing the ScyllaInput module, accessible from the top-level Scylla menu and from the GameObject context menu.

    Inheritance
    object
    ScyllaInputMenuItems
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Scylla.Input.Editor
    Assembly: ScyllaInput.Editor.dll
    Syntax
    public static class ScyllaInputMenuItems
    Remarks

    Both creation paths share the same underlying logic in CreateInputModule():

    1. If no ScyllaBootstrap exists in the scene, a dialog is shown and the operation is aborted.
    2. If a ScyllaInput component already exists, a dialog is shown and the existing module object is selected instead.
    3. Otherwise, a new child GameObject named after ScyllaInput.Meta.NAME is created under the bootstrap root, the ScyllaInput component is added, the operation is registered for undo, and the new object is selected.

    Both menu items are validated so they are only enabled when a ScyllaBootstrap is present and no ScyllaInput module exists yet.

    Methods

    CreateInputModule()

    Creates a new ScyllaInput module GameObject as a direct child of the ScyllaBootstrap object in the active scene, registers the creation for undo, and selects the new object. Shows a dialog and aborts if the bootstrap is missing or if an Input module already exists.

    Declaration
    [MenuItem("Tools/Scylla/Create/Scylla Input", false, 120)]
    public static void CreateInputModule()

    CreateInputModuleContext()

    Context menu entry under GameObject > Scylla > … that delegates directly to CreateInputModule(), providing the same creation behavior from the hierarchy right-click context menu.

    Declaration
    [MenuItem("GameObject/Scylla/Scylla Input", false, 15)]
    public static void CreateInputModuleContext()

    OpenInputWizard()

    Opens the Scylla Input Wizard for guided module setup. Accessible via Tools > Scylla > Input > Input Wizard....

    Declaration
    [MenuItem("Tools/Scylla/Input/Input Wizard...", false, 203)]
    public static void OpenInputWizard()

    ValidateCreateInputModule()

    Validator for the CreateInputModule() menu item. Returns true (enabling the menu item) only when a ScyllaBootstrap exists in the scene and no ScyllaInput component is present.

    Declaration
    [MenuItem("Tools/Scylla/Create/Scylla Input", true)]
    public static bool ValidateCreateInputModule()
    Returns
    Type Description
    bool

    true if the menu item should be enabled; false to gray it out.

    ValidateCreateInputModuleContext()

    Validator for the CreateInputModuleContext() context menu item. Delegates to ValidateCreateInputModule() to apply the same conditions.

    Declaration
    [MenuItem("GameObject/Scylla/Scylla Input", true)]
    public static bool ValidateCreateInputModuleContext()
    Returns
    Type Description
    bool

    true when the menu item should be enabled; false to gray it out.

    In this article
    Back to top Scylla Framework - Input Module API Documentation