代码合并
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
public class UIPageGarmentSewing : ModuleUIPage {
|
||||
private TopMenu topMenu;
|
||||
private UIPlateDesign plateDesign;
|
||||
private UIPlateBaking plateBaking;
|
||||
private VisualElement TopMenuElement => Q<VisualElement>("TopMenu");
|
||||
private VisualElement PlateDesignElement => Q<VisualElement>("PlateDesign");
|
||||
private VisualElement PlateBakingElement => Q<VisualElement>("PlateBaking");
|
||||
protected override void Awake() {
|
||||
ModuleCore.CurrentPage = this;
|
||||
}
|
||||
private void Start() {
|
||||
topMenu = new TopMenu(TopMenuElement);
|
||||
plateDesign = new UIPlateDesign(PlateDesignElement);
|
||||
plateBaking = new UIPlateBaking(PlateBakingElement);
|
||||
|
||||
topMenu.ClickTopMenu1 = () => { };
|
||||
topMenu.ClickTopMenu2 = () => { ModuleCore.PresetsPlateWindow.Open(null); };
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d436e806ac6755d4fb29cdb0f7208615
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user