docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetRule

    SetRule(int, Rule, bool)

    Set a Rule inside the RuleSet

    Declaration
    public void SetRule(int i, Rule rule, bool notify)
    Parameters
    Type Name Description
    int i

    Rule index

    Rule rule

    The Rule to set

    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)