docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method InsertRule

    InsertRule(int, Rule, bool)

    Insert a new Rule inside the RuleSet

    Declaration
    public void InsertRule(int index, Rule rule, bool notify)
    Parameters
    Type Name Description
    int index

    The index to insert at

    Rule rule

    The Rule to insert

    bool notify

    Notify UI

    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)