Class ScyllaEditorConstants
Constants for menu paths, priorities, EditorPrefs keys, and other editor configuration values. Provides a centralized location for all editor-related constants used throughout the Scylla editor toolset.
Inherited Members
Namespace: Scylla.Core.Editor
Assembly: ScyllaCore.Editor.dll
Syntax
public static class ScyllaEditorConstants
Fields
BUTTON_WIDTH
Standard button width.
Declaration
public const float BUTTON_WIDTH = 80
Field Value
| Type | Description |
|---|---|
| float |
BUTTON_WIDTH_WIDE
Wide button width.
Declaration
public const float BUTTON_WIDTH_WIDE = 140
Field Value
| Type | Description |
|---|---|
| float |
CONTEXT_ASSETS
Context menu path for Scylla asset creation.
Declaration
public const string CONTEXT_ASSETS = "Assets/Create/Scylla/"
Field Value
| Type | Description |
|---|---|
| string |
CONTEXT_GAMEOBJECT
Context menu path for creating Scylla GameObjects.
Declaration
public const string CONTEXT_GAMEOBJECT = "GameObject/Scylla/"
Field Value
| Type | Description |
|---|---|
| string |
COPYRIGHT
Copyright notice for the About window.
Declaration
public const string COPYRIGHT = "Copyright (c) Surreal Cosmic. All Rights Reserved."
Field Value
| Type | Description |
|---|---|
| string |
DEFAULT_RESOURCES_PATH
Default resources folder path for Scylla configuration assets.
Declaration
public const string DEFAULT_RESOURCES_PATH = "Assets/Scylla/Resources/Config"
Field Value
| Type | Description |
|---|---|
| string |
EDITOR_VERSION
Current version of the Scylla Editor Toolset.
Declaration
public const string EDITOR_VERSION = "1.0.0"
Field Value
| Type | Description |
|---|---|
| string |
FOLDOUT_HEIGHT
Height of foldout headers.
Declaration
public const float FOLDOUT_HEIGHT = 20
Field Value
| Type | Description |
|---|---|
| float |
GETTING_STARTED_HEIGHT
Default height for the Getting Started window.
Declaration
public const float GETTING_STARTED_HEIGHT = 600
Field Value
| Type | Description |
|---|---|
| float |
GETTING_STARTED_WIDTH
Default width for the Getting Started window.
Declaration
public const float GETTING_STARTED_WIDTH = 700
Field Value
| Type | Description |
|---|---|
| float |
HEADER_HEIGHT
Height of section headers.
Declaration
public const float HEADER_HEIGHT = 24
Field Value
| Type | Description |
|---|---|
| float |
HELP_BOX_MIN_HEIGHT
Minimum height for info/warning/error boxes.
Declaration
public const float HELP_BOX_MIN_HEIGHT = 36
Field Value
| Type | Description |
|---|---|
| float |
ICON_SIZE_LARGE
Standard icon size for window headers.
Declaration
public const float ICON_SIZE_LARGE = 32
Field Value
| Type | Description |
|---|---|
| float |
ICON_SIZE_MEDIUM
Standard icon size for status indicators.
Declaration
public const float ICON_SIZE_MEDIUM = 24
Field Value
| Type | Description |
|---|---|
| float |
ICON_SIZE_SMALL
Standard icon size for toolbar buttons.
Declaration
public const float ICON_SIZE_SMALL = 16
Field Value
| Type | Description |
|---|---|
| float |
LINE_HEIGHT
Height of a standard single-line property field.
Declaration
public const float LINE_HEIGHT = 18
Field Value
| Type | Description |
|---|---|
| float |
MENU_AI
Menu path for the Scylla AI module submenu.
Declaration
public const string MENU_AI = "Tools/Scylla/AI/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_AUDIO
Menu path for the Scylla Audio module submenu.
Declaration
public const string MENU_AUDIO = "Tools/Scylla/Audio/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_BUILD
Menu path for the Scylla Build pipeline submenu.
Declaration
public const string MENU_BUILD = "Tools/Scylla/Build/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_CAMERA
Menu path for the Scylla Camera module submenu.
Declaration
public const string MENU_CAMERA = "Tools/Scylla/Camera/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_CHARACTER_CONTROLLER
Menu path for the Scylla Character Controller module submenu.
Declaration
public const string MENU_CHARACTER_CONTROLLER = "Tools/Scylla/Character Controller/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_CREATE
Menu path for creating Scylla assets and objects.
Declaration
public const string MENU_CREATE = "Tools/Scylla/Create/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_DATA
Menu path for the Scylla Data module submenu.
Declaration
public const string MENU_DATA = "Tools/Scylla/Data/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_DEMOS
Menu path for the Scylla Demos submenu (per-demo authoring helpers).
Declaration
public const string MENU_DEMOS = "Tools/Scylla/Demos/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_DEMOS_CHARACTER_CONTROLLER
Menu path for the Character Controller demo submenu inside MENU_DEMOS.
Declaration
public const string MENU_DEMOS_CHARACTER_CONTROLLER = "Tools/Scylla/Demos/Character Controller/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_DEMOS_YM2612
Menu path for the YM2612 demo submenu inside MENU_DEMOS.
Declaration
public const string MENU_DEMOS_YM2612 = "Tools/Scylla/Demos/YM2612/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_EDITOR
Menu path for editor-side framework operations and framework windows (Module Browser, Debug Console, Validate Modules, etc.).
Declaration
public const string MENU_EDITOR = "Tools/Scylla/Editor/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_INPUT
Menu path for the Scylla Input module submenu.
Declaration
public const string MENU_INPUT = "Tools/Scylla/Input/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_ROOT
Root menu path for all Scylla menu items.
Declaration
public const string MENU_ROOT = "Tools/Scylla/"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
This must stay nested inside an existing Unity menu. Asset Store validation
rejects a package that adds a new root entry to the editor menu bar, so the
framework lives under Tools rather than owning a top-level Scylla
menu. Every other menu constant here is built from this one, so changing it
moves the whole tree.
The GameObject, Assets > Create and Preferences paths are
deliberately not derived from this constant: those already sit inside existing
Unity menus and need no nesting. See DECISIONS.md entry 028.
MENU_STATS
Menu path for the Scylla Stats module submenu.
Declaration
public const string MENU_STATS = "Tools/Scylla/Stats/"
Field Value
| Type | Description |
|---|---|
| string |
MENU_TOOLS
Menu path for standalone Scylla tool applications (Chroma, Font Character Extractor, ...).
Declaration
public const string MENU_TOOLS = "Tools/Scylla/Utilities/"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
Named "Utilities" rather than "Tools" because MENU_ROOT already
nests the framework under Unity's Tools menu, and
Tools > Scylla > Tools reads badly.
MENU_YM2612
Menu path for the Scylla YM2612 module submenu.
Declaration
public const string MENU_YM2612 = "Tools/Scylla/YM2612/"
Field Value
| Type | Description |
|---|---|
| string |
PADDING
Standard padding inside UI containers.
Declaration
public const float PADDING = 8
Field Value
| Type | Description |
|---|---|
| float |
PREFERENCES_ROOT_PATH
Root path for Scylla pages in Unity's Preferences window.
Declaration
public const string PREFERENCES_ROOT_PATH = "Preferences/Scylla"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
A page composes its own path from this, for example
PREFERENCES_ROOT_PATH + "/Input". The intermediate node is never declared:
Unity builds the tree from the slash path, so every page composing from this constant
lands under one shared parent.
PREFS_FOLDOUT_PREFIX
Key for storing foldout states in custom inspectors.
Declaration
public const string PREFS_FOLDOUT_PREFIX = "Scylla.Editor.Foldout."
Field Value
| Type | Description |
|---|---|
| string |
PREFS_INLINE_EDITOR_DESCRIPTIONS
Key for enabling inline property descriptions across Scylla editor inspectors (configuration inspectors and any other inspector that uses the toggle).
Declaration
public const string PREFS_INLINE_EDITOR_DESCRIPTIONS = "Scylla.Editor.InlineEditorDescriptions"
Field Value
| Type | Description |
|---|---|
| string |
PREFS_LOGO_ANIMATION_ENABLED
Key for enabling/disabling the animated Scylla logo in editor windows.
Declaration
public const string PREFS_LOGO_ANIMATION_ENABLED = "Scylla.Editor.LogoAnimationEnabled"
Field Value
| Type | Description |
|---|---|
| string |
PREFS_PREFIX
Prefix for all Scylla EditorPrefs keys.
Declaration
public const string PREFS_PREFIX = "Scylla.Editor."
Field Value
| Type | Description |
|---|---|
| string |
PREFS_TAB_PREFIX
Key for storing the last selected tab in tabbed windows.
Declaration
public const string PREFS_TAB_PREFIX = "Scylla.Editor.Tab."
Field Value
| Type | Description |
|---|---|
| string |
PREFS_WINDOW_PREFIX
Key for storing window positions.
Declaration
public const string PREFS_WINDOW_PREFIX = "Scylla.Editor.Window."
Field Value
| Type | Description |
|---|---|
| string |
PRIORITY_ABOUT
Priority for the About menu item (appears at bottom).
Declaration
public const int PRIORITY_ABOUT = 1000
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_BUILD
Priority for the Build pipeline submenu. Sits below the Editor block; the gap to the last Editor item ensures Unity draws a separator above Build.
Declaration
public const int PRIORITY_BUILD = 250
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_CONTEXT_GAMEOBJECT
Priority for GameObject context menu items.
Declaration
public const int PRIORITY_CONTEXT_GAMEOBJECT = 10
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_CREATE
Base priority for Create submenu items. Tier offsets: Core = +0, Tier 1 = +20..+50, Tier 2 = +70..+73, Tier 3 = +85 (see the tier-offset constants below).
Declaration
public const int PRIORITY_CREATE = 100
Field Value
| Type | Description |
|---|---|
| int |
Remarks
Unity positions a parent submenu (the Create entry in the Scylla/
menu) by the highest priority among its children, not the lowest. Every
Create item must therefore stay comfortably below the per-module submenu block
(which starts at PRIORITY_MODULE_AI = 198): if any Create item's
priority reaches into that range, the whole Create entry is dragged down
below the module submenus. Keep the highest Create item at 187 or lower so a
separator (gap > 10) is preserved both above Create and between it and
the module block.
PRIORITY_CREATE_TIER2_OFFSET
Priority offset added after the last Tier 1 module in the Create menu. Creates a visual divider between Tier 1 and Tier 2 modules.
Declaration
public const int PRIORITY_CREATE_TIER2_OFFSET = 70
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_CREATE_TIER3_OFFSET
Priority offset added to Tier 3 modules in the Create menu. Leaves a gap after the Tier 2 block (+70..+73) so Unity draws a divider between Tier 2 and Tier 3, while keeping the item at 185, below the per-module submenu block (see the ceiling noted on PRIORITY_CREATE).
Declaration
public const int PRIORITY_CREATE_TIER3_OFFSET = 85
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_DEMOS
Priority for the Demos submenu. Sits directly below PRIORITY_BUILD; the gap to Build ensures a separator between the Build and Demos submenus.
Declaration
public const int PRIORITY_DEMOS = 262
Field Value
| Type | Description |
|---|---|
| int |
Remarks
Per-demo submenus inside Demos are packed consecutively from this value in
alphabetical order (Character Controller = +0, YM2612 = +1), the same scheme the
per-module block uses. A demo's first item takes its slot and any siblings use
small + n offsets that stay inside that demo's own submenu.
PRIORITY_EDITOR
Priority for the Editor submenu items (framework operations and framework windows). Sits directly below PRIORITY_TOOLS in the same visual group. Editor occupies 222-247 to express two internal separators (after Module Browser/Debug Console, and before Capture Game View Screenshot).
Declaration
public const int PRIORITY_EDITOR = 222
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_GETTING_STARTED
Priority for the Getting Started menu item (first item in root).
Declaration
public const int PRIORITY_GETTING_STARTED = 0
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_MODULE_AI
Priority for the per-module submenu block. Every PRIORITY_MODULE_* below
is assigned in strict alphabetical order and packed consecutively (adjacent
values differ by 1) so the submenus always appear alphabetically with no
separators between them. Each module's first item uses its constant here and any
siblings use small + n offsets that stay inside that module's own submenu.
Small is the operative word, and this is where an earlier version of this
paragraph was wrong. It claimed a submenu is positioned by the lowest priority
of its children, so that any offset was safe. It is not: Unity applies its
more-than-ten separator rule at every level at once, and a child far enough above
this block's last item to be divided from its own siblings is equally divided from
the neighbouring submenus, at which point the parent entry follows it out of the
alphabetical block. Observed by giving the Input submenu a child at 218 and watching
Input leave the block; see ScyllaInputBundleMenuItems, which documents the one
offset that divides its own items without moving the submenu. When a
new module is added, give it a constant in its alphabetical slot (renumbering the
ones after it) rather than appending at the end; ordering is compile-time and
therefore stable regardless of when the module was added. The gap from the last
Create item ensures a separator between Create and this block.
Declaration
public const int PRIORITY_MODULE_AI = 198
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_MODULE_AUDIO
Priority for the Audio module submenu (alphabetical block).
Declaration
public const int PRIORITY_MODULE_AUDIO = 199
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_MODULE_CAMERA
Priority for the Camera module submenu (alphabetical block).
Declaration
public const int PRIORITY_MODULE_CAMERA = 200
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_MODULE_CHARACTER_CONTROLLER
Priority for the Character Controller module submenu (alphabetical block).
Declaration
public const int PRIORITY_MODULE_CHARACTER_CONTROLLER = 201
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_MODULE_DATA
Priority for the Data module submenu (alphabetical block).
Declaration
public const int PRIORITY_MODULE_DATA = 202
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_MODULE_INPUT
Priority for the Input module submenu (alphabetical block).
Declaration
public const int PRIORITY_MODULE_INPUT = 203
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_MODULE_STATS
Priority for the Stats module submenu (alphabetical block).
Declaration
public const int PRIORITY_MODULE_STATS = 204
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_MODULE_YM2612
Priority for the YM2612 module submenu (alphabetical block; sorts last).
Declaration
public const int PRIORITY_MODULE_YM2612 = 205
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_SETUP_WIZARD
Menu item priority for the Setup Wizard (second item in root).
Declaration
public const int PRIORITY_SETUP_WIZARD = 1
Field Value
| Type | Description |
|---|---|
| int |
PRIORITY_TOOLS
Priority for the Tools submenu items (standalone tool applications). Sits below the per-module submenus; the gap to the last module priority ensures Unity inserts a separator between the modules block and the Tools submenu.
Declaration
public const int PRIORITY_TOOLS = 220
Field Value
| Type | Description |
|---|---|
| int |
Remarks
Tools items are packed consecutively from this value (adjacent values differ by 1)
so they stay in one group with no separators between them. Items sharing a priority
fall back to Unity's registration order, which is not deterministic across
recompiles, so every Tools item must claim its own + n offset. Chroma keeps
the base value so it always sorts first.
PROJECT_SETTINGS_LABEL
Display name for Scylla in Project Settings.
Declaration
public const string PROJECT_SETTINGS_LABEL = "Scylla"
Field Value
| Type | Description |
|---|---|
| string |
PROJECT_SETTINGS_PATH
Path for Scylla settings in Unity's Project Settings window.
Declaration
public const string PROJECT_SETTINGS_PATH = "Project/Scylla"
Field Value
| Type | Description |
|---|---|
| string |
SEPARATOR_HEIGHT
Height of horizontal line separators.
Declaration
public const float SEPARATOR_HEIGHT = 1
Field Value
| Type | Description |
|---|---|
| float |
SESSION_FOLDOUT_PREFIX
Key for storing temporary foldout states (lost on editor restart).
Declaration
public const string SESSION_FOLDOUT_PREFIX = "Scylla.Session.Foldout."
Field Value
| Type | Description |
|---|---|
| string |
SESSION_PREFIX
Prefix for all Scylla SessionState keys (persists only during editor session).
Declaration
public const string SESSION_PREFIX = "Scylla.Session."
Field Value
| Type | Description |
|---|---|
| string |
SHORTCUT_DEBUG_WINDOW
Keyboard shortcut for opening Debug Console window (Ctrl/Cmd+Shift+D).
Declaration
public const string SHORTCUT_DEBUG_WINDOW = " %#d"
Field Value
| Type | Description |
|---|---|
| string |
SHORTCUT_GETTING_STARTED
Keyboard shortcut for opening Getting Started window (Ctrl/Cmd+Shift+G).
Declaration
public const string SHORTCUT_GETTING_STARTED = " %#g"
Field Value
| Type | Description |
|---|---|
| string |
SHORTCUT_INLINE_DESCRIPTIONS
Keyboard shortcut for toggling inline config descriptions (Ctrl/Cmd+Shift+L).
Declaration
public const string SHORTCUT_INLINE_DESCRIPTIONS = " %#l"
Field Value
| Type | Description |
|---|---|
| string |
SHORTCUT_MODULE_WINDOW
Keyboard shortcut for opening Module Browser window (Ctrl/Cmd+Shift+M).
Declaration
public const string SHORTCUT_MODULE_WINDOW = " %#m"
Field Value
| Type | Description |
|---|---|
| string |
SHORTCUT_SETUP_WIZARD
Keyboard shortcut for opening Setup Wizard (Ctrl/Cmd+Shift+W).
Declaration
public const string SHORTCUT_SETUP_WIZARD = " %#w"
Field Value
| Type | Description |
|---|---|
| string |
SHORTCUT_VALIDATE
Keyboard shortcut for validating modules (Ctrl/Cmd+Shift+V).
Declaration
public const string SHORTCUT_VALIDATE = " %#v"
Field Value
| Type | Description |
|---|---|
| string |
SPACING
Standard spacing between UI elements.
Declaration
public const float SPACING = 4
Field Value
| Type | Description |
|---|---|
| float |
URL_ASSET_STORE_PUBLISHER
URL to the Scylla publisher page on the Unity Asset Store.
Declaration
public const string URL_ASSET_STORE_PUBLISHER = "https://assetstore.unity.com/publishers/10624"
Field Value
| Type | Description |
|---|---|
| string |
URL_DISCORD
URL to the Scylla Discord server.
Declaration
public const string URL_DISCORD = "https://discord.gg/FG5cxnn2R6"
Field Value
| Type | Description |
|---|---|
| string |
URL_DOCUMENTATION
URL to the Scylla Framework documentation.
Declaration
public const string URL_DOCUMENTATION = "https://scyllaframework.com"
Field Value
| Type | Description |
|---|---|
| string |
URL_WEBSITE
URL to the Scylla Framework website.
Declaration
public const string URL_WEBSITE = "https://scyllaframework.com"
Field Value
| Type | Description |
|---|---|
| string |
WIZARD_HEIGHT
Default height for wizard windows.
Declaration
public const float WIZARD_HEIGHT = 620
Field Value
| Type | Description |
|---|---|
| float |
WIZARD_MIN_HEIGHT
Minimum height for wizard windows.
Declaration
public const float WIZARD_MIN_HEIGHT = 400
Field Value
| Type | Description |
|---|---|
| float |
WIZARD_MIN_WIDTH
Minimum width for wizard windows.
Declaration
public const float WIZARD_MIN_WIDTH = 400
Field Value
| Type | Description |
|---|---|
| float |
WIZARD_STEP_INDICATOR_HEIGHT
Height of the step indicator area in wizards.
Declaration
public const float WIZARD_STEP_INDICATOR_HEIGHT = 60
Field Value
| Type | Description |
|---|---|
| float |
WIZARD_WIDTH
Default width for wizard windows.
Declaration
public const float WIZARD_WIDTH = 520
Field Value
| Type | Description |
|---|---|
| float |