logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RuleSOEditor

    Custom editor for RuleSO that provides conditional field display based on the rule effect. Shows only relevant fields for SetLayerWeight or TriggerAction effects. Provides inline condition editing with type dropdown and nested condition support.

    Inheritance
    object
    RuleSOEditor
    Namespace: Serenity.ProceduralAnimator.Infrastructure.Editor
    Assembly: Serenity.UnityProceduralAnimator.Infrastructure.Editor.dll
    Syntax
    public class RuleSOEditor : FoundationEditor<RuleSO>
    Remarks

    This editor hand-rolls every remaining field itself, so DrawSerializedFields() is overridden with an empty body to suppress the base's automatic drawing.

    Constructors

    RuleSOEditor()

    Declaration
    public RuleSOEditor()

    Methods

    DrawSerializedFields()

    Declaration
    protected override void DrawSerializedFields()

    OnEnable()

    Declaration
    public override void OnEnable()

    OnInspectorGUI()

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