Class UIFoldout
Foldout in the DebugMenu
Inheritance
UnityEngine.EventSystems.UIBehaviour
UnityEngine.UI.Selectable
UnityEngine.UI.Toggle
UIFoldout
Inherited Members
UnityEngine.UI.Toggle.toggleTransition
UnityEngine.UI.Toggle.graphic
UnityEngine.UI.Toggle.onValueChanged
UnityEngine.UI.Toggle.OnValidate()
UnityEngine.UI.Toggle.Rebuild(UnityEngine.UI.CanvasUpdate)
UnityEngine.UI.Toggle.LayoutComplete()
UnityEngine.UI.Toggle.GraphicUpdateComplete()
UnityEngine.UI.Toggle.OnDestroy()
UnityEngine.UI.Toggle.OnEnable()
UnityEngine.UI.Toggle.OnDisable()
UnityEngine.UI.Toggle.OnDidApplyAnimationProperties()
UnityEngine.UI.Toggle.SetIsOnWithoutNotify(System.Boolean)
UnityEngine.UI.Toggle.OnPointerClick(UnityEngine.EventSystems.PointerEventData)
UnityEngine.UI.Toggle.OnSubmit(UnityEngine.EventSystems.BaseEventData)
UnityEngine.UI.Toggle.UnityEngine.UI.ICanvasElement.get_transform()
UnityEngine.UI.Toggle.group
UnityEngine.UI.Toggle.isOn
UnityEngine.UI.Selectable.s_Selectables
UnityEngine.UI.Selectable.s_SelectableCount
UnityEngine.UI.Selectable.m_CurrentIndex
UnityEngine.UI.Selectable.AllSelectablesNoAlloc(UnityEngine.UI.Selectable[])
UnityEngine.UI.Selectable.Awake()
UnityEngine.UI.Selectable.OnCanvasGroupChanged()
UnityEngine.UI.Selectable.IsInteractable()
UnityEngine.UI.Selectable.OnTransformParentChanged()
UnityEngine.UI.Selectable.Reset()
UnityEngine.UI.Selectable.InstantClearState()
UnityEngine.UI.Selectable.DoStateTransition(UnityEngine.UI.Selectable.SelectionState, System.Boolean)
UnityEngine.UI.Selectable.FindSelectable(UnityEngine.Vector3)
UnityEngine.UI.Selectable.FindSelectableOnLeft()
UnityEngine.UI.Selectable.FindSelectableOnRight()
UnityEngine.UI.Selectable.FindSelectableOnUp()
UnityEngine.UI.Selectable.FindSelectableOnDown()
UnityEngine.UI.Selectable.OnMove(UnityEngine.EventSystems.AxisEventData)
UnityEngine.UI.Selectable.IsHighlighted()
UnityEngine.UI.Selectable.IsPressed()
UnityEngine.UI.Selectable.OnPointerDown(UnityEngine.EventSystems.PointerEventData)
UnityEngine.UI.Selectable.OnPointerUp(UnityEngine.EventSystems.PointerEventData)
UnityEngine.UI.Selectable.OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
UnityEngine.UI.Selectable.OnPointerExit(UnityEngine.EventSystems.PointerEventData)
UnityEngine.UI.Selectable.OnSelect(UnityEngine.EventSystems.BaseEventData)
UnityEngine.UI.Selectable.OnDeselect(UnityEngine.EventSystems.BaseEventData)
UnityEngine.UI.Selectable.Select()
UnityEngine.UI.Selectable.allSelectablesArray
UnityEngine.UI.Selectable.allSelectableCount
UnityEngine.UI.Selectable.allSelectables
UnityEngine.UI.Selectable.navigation
UnityEngine.UI.Selectable.transition
UnityEngine.UI.Selectable.colors
UnityEngine.UI.Selectable.spriteState
UnityEngine.UI.Selectable.animationTriggers
UnityEngine.UI.Selectable.targetGraphic
UnityEngine.UI.Selectable.interactable
UnityEngine.UI.Selectable.image
UnityEngine.UI.Selectable.animator
UnityEngine.UI.Selectable.currentSelectionState
UnityEngine.EventSystems.UIBehaviour.IsActive()
UnityEngine.EventSystems.UIBehaviour.OnRectTransformDimensionsChange()
UnityEngine.EventSystems.UIBehaviour.OnBeforeTransformParentChanged()
UnityEngine.EventSystems.UIBehaviour.OnCanvasHierarchyChanged()
UnityEngine.EventSystems.UIBehaviour.IsDestroyed()
Namespace: UnityEngine.Rendering.UI
Syntax
[ExecuteAlways]
public class UIFoldout : Toggle, IMoveHandler, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, IPointerExitHandler, ISelectHandler, IDeselectHandler, IPointerClickHandler, ISubmitHandler, IEventSystemHandler, ICanvasElement
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()
Overrides
UnityEngine.UI.Toggle.Start()