logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityStateKeyEditor

    Custom inspector for UnityStateKey. Does not derive FoundationEditor{T} — see UnityStateKey's own doc comment for why this type intentionally stays outside the IFoundationSettings contract: its serialized id is a stable runtime key, not a user-editable identifier, and its immutability is the whole point.

    Promotes DisplayName to the primary editable field and draws Id disabled by default, behind an explicit "Unlock Id" toggle for the rare deliberate rekey — Unity's default inspector used to edit the raw serialized field directly, with zero resistance, even though the corresponding C# property is get-only.

    Inheritance
    object
    UnityStateKeyEditor
    Namespace: Serenity.ProceduralAnimator.Infrastructure.Editor
    Assembly: Serenity.UnityProceduralAnimator.Infrastructure.Editor.dll
    Syntax
    public class UnityStateKeyEditor : Editor

    Constructors

    UnityStateKeyEditor()

    Declaration
    public UnityStateKeyEditor()

    Methods

    OnInspectorGUI()

    Declaration
    public override void OnInspectorGUI()
    In this article
    © 2026 Serenity. All Rights Reserved