Files
MuHua-Core/Assets/ModuleCore/ModuleUIPage/UIPageGarmentSewing.cs
T
MuHua-123 84243e75a8 s
2024-11-25 18:32:05 +08:00

17 lines
543 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class UIPageGarmentSewing : ModuleUIPage {
private TopMenu topMenu;
private VisualElement TopMenuElement => Q<VisualElement>("TopMenu");
protected override void Awake() => ModuleCore.CurrentPage = this;
private void Start() {
topMenu = new TopMenu(TopMenuElement);
topMenu.ClickTopMenu1 = () => { };
topMenu.ClickTopMenu2 = () => { ModuleCore.PresetsPlateWindow.Open(null); };
}
}