This commit is contained in:
MuHua-123
2025-06-20 17:30:54 +08:00
parent 5a11b86ef6
commit 39d9db9c6d
30 changed files with 740 additions and 47 deletions
@@ -0,0 +1,31 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
using MuHua;
/// <summary>
/// UI加载管理器
/// </summary>
public class UILoadManager : ModuleUIPage {
public UIProgres progres;
public override VisualElement Element => root.Q<VisualElement>("Popup");
public VisualElement PopupDialog => Q<VisualElement>("PopupDialog");
private void Awake() {
progres = new UIProgres(PopupDialog);
}
private void OnDestroy() {
// config.Release();
// configMaterial.Release();
// equipmentSelection.Release();
// paramrInput.Release();
}
private void Update() {
// config.Update();
// configMaterial.Update();
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2da9aad7a772f434080f14bd479de19c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,31 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
using MuHua;
/// <summary>
/// UI弹出管理器
/// </summary>
public class UIPopupManager : ModuleUIPage {
public UIPopup dialog;
public override VisualElement Element => root.Q<VisualElement>("Popup");
public VisualElement PopupDialog => Q<VisualElement>("PopupDialog");
private void Awake() {
dialog = new UIPopup(PopupDialog);
}
private void OnDestroy() {
// config.Release();
// configMaterial.Release();
// equipmentSelection.Release();
// paramrInput.Release();
}
private void Update() {
// config.Update();
// configMaterial.Update();
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 58ce28d05656cfd498fc2555599e349c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: