docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property IsModifier

    IsModifier

    Indicates whether this action modifies scene state when executed.

    Declaration
    public override bool IsModifier { get; }
    Property Value
    Type Description
    bool
    Overrides
    ActionBase.IsModifier
    Remarks

    Actions that return true are considered "modifiers" that make meaningful changes to the scene or application state (e.g., instantiating objects, changing transforms, modifying properties).

    Actions that return false (e.g., getters, filters, ...) only retrieve or filter data without directly changing state.

    The Rule Engine uses this property to determine if a Rule can be skipped during execution when it contains only non-modifier actions.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)