docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetState

    SetState(bool)

    Change the state of this foldout

    Declaration
    public void SetState(bool state)
    Parameters
    Type Name Description
    bool state

    The new State

    SetState(bool, bool)

    Change the state of this foldout

    Declaration
    public void SetState(bool state, bool rebuildLayout)
    Parameters
    Type Name Description
    bool state

    The new State

    bool rebuildLayout

    If True, the layout will be rebuild

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