Namespace Scylla.Core.Attributes
Classes
AttributeValidator
Provides runtime validation of fields decorated with Scylla's validation attributes, enforcing Scylla's fail-fast philosophy by surfacing configuration errors at startup before any gameplay logic executes.
ConditionalAttributeBase
Abstract base class for all conditional Inspector attributes that show, hide, enable, or disable a serialized field based on the runtime value of another field on the same object.
DisableIfAttribute
Conditionally disables a serialized field for editing in the Unity Inspector based on the current value of another field on the same object.
DisplayNameAttribute
Assigns a human-readable display name to a type for use in tooling, editor UI, and reflection-based systems throughout the Scylla framework.
EnableIfAttribute
Conditionally enables a serialized field for editing in the Unity Inspector based on the current value of another field on the same object.
FoldoutAttribute
Groups serialized fields under a collapsible foldout section in the Unity Inspector.
FormerlySerializedAsAttribute
Records a previous fully qualified type name for a class or struct so that serialization systems can migrate existing data when a type is renamed or moved to a different namespace.
GroupAttribute
Assigns an organizational group path to a type so that editor tooling and reflection-based systems can categorize and present it within a logical hierarchy.
HideIfAttribute
Conditionally hides a serialized field in the Unity Inspector based on the current value of another field on the same object.
HideInFilterWindowAttribute
Marker attribute that instructs editor filter windows and type-selection UI to exclude the decorated type from the list of selectable options.
HorizontalLineAttribute
Draws a horizontal separator line immediately above the decorated field in the Unity Inspector, providing a lightweight visual divider between groups of fields.
InfoBoxAttribute
Displays an informational, warning, or error message box immediately above the decorated field in the Unity Inspector.
LayerFieldAttribute
Marks an int field so the Inspector renders it as a layer selection dropdown
instead of a raw integer input.
MinMaxRangeAttribute
Displays a Vector2 or Vector2Int serialized field as an interactive
dual-handle min-max range slider in the Unity Inspector.
MonoTextAreaAttribute
Displays a string serialized field as a scrollable, multi-line text area
rendered with the Scylla default monospace font (ScyllaMono) in the Unity
Inspector.
NotEmptyAttribute
Marks a string or collection field as requiring a non-empty value, enforced at runtime by ValidateObject(object).
NotNullAttribute
Marks a field as requiring a non-null reference, enforced at runtime by ValidateObject(object).
ReadOnlyAttribute
Makes a serialized field permanently non-editable in the Unity Inspector, or optionally non-editable only during Play mode.
ReflectedTypeAttribute
Marks an interface or base class to indicate that its concrete implementations should be discovered and loaded automatically at runtime through reflection.
RequiredAttribute
Marks a serialized field as required and displays a warning message box in the Unity Inspector whenever the field's value is considered unset or empty.
SceneFieldAttribute
Marks a string field so the Inspector renders it as a scene selection dropdown
populated from the project's Build Settings instead of a raw text input.
ShowIfAttribute
Conditionally shows a serialized field in the Unity Inspector based on the current value of another field on the same object.
SortingLayerFieldAttribute
Marks an int field so the Inspector renders it as a sorting layer selection
dropdown instead of a raw integer input, storing the selected sorting layer's
persistent ID rather than its transient index.
TagFieldAttribute
Marks a string field so the Inspector renders it as a tag selection dropdown
populated from the project's defined tags instead of a raw text input.
TitleAttribute
Displays a decorative, bold title header immediately above the decorated field in the Unity Inspector, creating a named visual section without collapsible grouping behavior.
ValidateInputAttribute
Marks a field for custom validation by delegating to a named instance method on the same object, enforced at runtime by ValidateObject(object).
ValidationException
The exception thrown by AttributeValidator when a field decorated with a Scylla validation attribute fails its check at runtime.
Enums
CompareOperator
Specifies the comparison operator used when evaluating a field condition in a conditional Inspector attribute.
InfoType
Specifies the visual style and icon used when rendering an InfoBoxAttribute message box in the Unity Inspector.