update UIElements

This commit is contained in:
何冠峰
2025-02-28 19:06:17 +08:00
parent 3069b1d1f1
commit 56ae1a8f95
4 changed files with 23 additions and 3 deletions
@@ -28,11 +28,14 @@ namespace YooAsset.Editor
base.SetValueWithoutNotify(newValue);
RefreshIcon();
}
#if UNITY_2021_3_OR_NEWER
protected override void ToggleValue()
{
base.ToggleValue();
RefreshIcon();
}
#endif
private void RefreshIcon()
{