AxibugEmuOnline/AxibugEmuOnline.Client/Assets/Script/UI/OptionUI/OptionUI_ExecuteItem.cs

22 lines
529 B
C#
Raw Normal View History

using UnityEngine;
2024-09-12 15:08:48 +08:00
namespace AxibugEmuOnline.Client
{
2024-09-13 10:28:02 +08:00
public class OptionUI_ExecuteItem : OptionUI_MenuItem<ExecuteMenu>
2024-09-12 15:08:48 +08:00
{
public GameObject ExpandFlag;
protected override void OnSetData(OptionMenu menuData)
{
base.OnSetData(menuData);
ExpandFlag.SetActiveEx(IsExpandMenu);
}
2024-11-28 16:33:00 +08:00
public override void OnExecute(OptionUI optionUI, ref bool cancelHide)
2024-09-13 10:28:02 +08:00
{
2024-11-28 16:33:00 +08:00
MenuData.OnExcute(optionUI, ref cancelHide);
2024-09-13 10:28:02 +08:00
}
2024-09-12 15:08:48 +08:00
}
}