Class ToggleFoldout
折叠开关
Assembly: YooAsset.Editor.dll
View Source
Declaration
public class ToggleFoldout : Toggle, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<bool>, IMixedValueSupport
Methods
SetValueWithoutNotify(bool)
<p> Sets the value of the BaseBoolField, but does not notify the rest of the hierarchy of the change. </p>
View Source
Declaration
public override void SetValueWithoutNotify(bool newValue)
Parameters
| Type | Name |
|---|---|
System.Boolean | newValue |
RefreshIcon()
刷新折叠状态对应的图标
View Source
Declaration
public void RefreshIcon()
Implements
UnityEngine.UIElements.IEventHandlerUnityEngine.UIElements.IResolvedStyleUnityEngine.UIElements.ITransformUnityEngine.UIElements.Experimental.ITransitionAnimationsUnityEngine.UIElements.IExperimentalFeaturesUnityEngine.UIElements.IVisualElementSchedulerUnityEngine.UIElements.IBindableUnityEngine.UIElements.INotifyValueChanged<System.Boolean>UnityEngine.UIElements.IMixedValueSupport