Class UIFoldout | Core RP Library | 8.2.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class UIFoldout

    Foldout in the DebugMenu

    Inheritance
    Object
    UIFoldout
    Namespace: UnityEngine.Rendering.UI
    Syntax
    public class UIFoldout : Toggle

    Fields

    arrowClosed

    Arror in state closed

    Declaration
    public GameObject arrowClosed
    Field Value
    Type Description
    GameObject

    arrowOpened

    Arror in state opened

    Declaration
    public GameObject arrowOpened
    Field Value
    Type Description
    GameObject

    content

    Contents inside the toggle

    Declaration
    public GameObject content
    Field Value
    Type Description
    GameObject

    Methods

    SetState(Boolean)

    Change the state of this foldout

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

    The new State

    SetState(Boolean, Boolean)

    Change the state of this foldout

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

    The new State

    Boolean rebuildLayout

    If True, the layout will be rebuild

    Start()

    Start of this GameObject lifecicle

    Declaration
    protected override void Start()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023