修改提交
This commit is contained in:
parent
662d6f53de
commit
b3186ae152
File diff suppressed because it is too large
Load Diff
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2fa6a9e6f9f9ffa489915ed5f963ac67
|
||||
@ -9,7 +9,6 @@ using AlicizaX;
|
||||
using AlicizaX.Localization;
|
||||
using YooAsset;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Hotfix.GameLogic;
|
||||
using Luban;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
|
||||
@ -1,26 +0,0 @@
|
||||
using System;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Hotfix.GameLogic.TestWindow;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Profiling;
|
||||
using UnityEngine.UI;
|
||||
|
||||
|
||||
public class TestMono : MonoBehaviour
|
||||
{
|
||||
public Action callBack;
|
||||
public UXButton _button;
|
||||
public bool interactable;
|
||||
|
||||
[Sirenix.OdinInspector.Button]
|
||||
public void Test()
|
||||
{
|
||||
_button.Selected = interactable;
|
||||
}
|
||||
|
||||
public void Print(int index)
|
||||
{
|
||||
Debug.Log("Index");
|
||||
}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f09b695799b281842af084a0cb741bdd
|
||||
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 828b46d2c5eb4264bbaceb409fc9150b
|
||||
timeCreated: 1753768359
|
||||
@ -1,42 +0,0 @@
|
||||
using AlicizaX;
|
||||
using AlicizaX.UI.Runtime;
|
||||
using GameLogic.Event.Generated;
|
||||
using GameLogic.UI;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Hotfix.GameLogic.TestWindow
|
||||
{
|
||||
[Prewarm(2)]
|
||||
public readonly struct ModeChangedEvent : IEventArgs
|
||||
{
|
||||
}
|
||||
|
||||
public readonly struct ModeHGameChangedEvent : IEventArgs
|
||||
{
|
||||
}
|
||||
|
||||
[Window(UILayer.UI)]
|
||||
public class UIHomeWindow : UIWindow<ui_UITestWindow>
|
||||
{
|
||||
protected override void OnInitialize()
|
||||
{
|
||||
baseui.ImgBackGround.color = Color.gray;
|
||||
baseui.Btntest.onClick.AddListener(OnTestClick);
|
||||
}
|
||||
|
||||
private void OnTestClick()
|
||||
{
|
||||
Debug.Log("ShowUIA");
|
||||
}
|
||||
|
||||
protected override void OnOpen()
|
||||
{
|
||||
Debug.Log("OnOpen");
|
||||
}
|
||||
|
||||
protected override void OnClose()
|
||||
{
|
||||
Debug.Log("OnClose");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0edc29f83cc34c5eb513f0666dca292f
|
||||
timeCreated: 1753768367
|
||||
@ -1,6 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 80277f623b9fa2c4284a4734a018bb2e
|
||||
TextScriptImporter:
|
||||
guid: 2d6787dcf4460914ebecefe9005032d2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
8
Client/Assets/Scripts/Hotfix/GameLogic/UI/Generate.meta
Normal file
8
Client/Assets/Scripts/Hotfix/GameLogic/UI/Generate.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a187e1f86f993645bf2647c33dc8624
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -1,7 +1,6 @@
|
||||
|
||||
using AlicizaX.UI.Runtime;
|
||||
using Game.UI;
|
||||
using GameLogic.UI;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
using AlicizaX.UI.Runtime;
|
||||
|
||||
namespace GameLogic.UI
|
||||
{
|
||||
public class UITestCardWidget : UIWidget<ui_UITestCardWidget>
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 59e3ce2038bb4cb2a48cda67db3a6185
|
||||
timeCreated: 1744162362
|
||||
@ -1,17 +0,0 @@
|
||||
using System;
|
||||
using AlicizaX.UI.RecyclerView;
|
||||
using GameLogic.UI;
|
||||
using UnityEngine;
|
||||
|
||||
public class UITestViewHolder : ViewHolder
|
||||
{
|
||||
[SerializeField] private ui_TestViewHolder holder;
|
||||
|
||||
public override void BindViewData<T>(T data)
|
||||
{
|
||||
if (data is string text)
|
||||
{
|
||||
holder.TextTitl.text = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5a07351da0e2d140bd6a0896e610b05
|
||||
@ -1,22 +0,0 @@
|
||||
using TMPro;
|
||||
using UnityEngine;using Sirenix.OdinInspector;
|
||||
using AlicizaX.UI.Runtime;
|
||||
namespace GameLogic.UI
|
||||
{
|
||||
[UIRes(ui_TestViewHolder.ResTag, EUIResLoadType.AssetBundle)]
|
||||
public class ui_TestViewHolder : UIHolderObjectBase
|
||||
{
|
||||
|
||||
public const string ResTag = "TestViewHolder";
|
||||
#region Generated by Script Tool
|
||||
|
||||
[SerializeField]
|
||||
[ReadOnly]
|
||||
[HideLabel]
|
||||
private TextMeshProUGUI mTextTitl;
|
||||
public TextMeshProUGUI TextTitl => mTextTitl;
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6ccb240eacf30f0498b99d2c28620636
|
||||
@ -1,22 +0,0 @@
|
||||
using UnityEngine.UI;
|
||||
using Sirenix.OdinInspector;
|
||||
using AlicizaX.UI.Runtime;
|
||||
using UnityEngine;
|
||||
namespace GameLogic.UI
|
||||
{
|
||||
[UIRes(ui_UITestCardWidget.ResTag, EUIResLoadType.AssetBundle)]
|
||||
public class ui_UITestCardWidget : UIHolderObjectBase
|
||||
{
|
||||
public const string ResTag = "UITestCardWidget";
|
||||
#region Generated by Script Tool
|
||||
|
||||
[SerializeField]
|
||||
[ReadOnly]
|
||||
[HideLabel]
|
||||
private Image mImgLoader;
|
||||
public Image ImgLoader => mImgLoader;
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 41db8c05e1d575a4fabbe2449c65f28b
|
||||
@ -1,35 +0,0 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using TMPro;
|
||||
using Sirenix.OdinInspector;
|
||||
using AlicizaX.UI.Runtime;
|
||||
namespace GameLogic.UI
|
||||
{
|
||||
[UIRes(ui_UITestWindow.ResTag, EUIResLoadType.AssetBundle)]
|
||||
public class ui_UITestWindow : UIHolderObjectBase
|
||||
{
|
||||
public const string ResTag = "UITestWindow";
|
||||
#region Generated by Script Tool
|
||||
|
||||
[SerializeField]
|
||||
[ReadOnly]
|
||||
[HideLabel]
|
||||
private Image mImgBackGround;
|
||||
public Image ImgBackGround => mImgBackGround;
|
||||
|
||||
[SerializeField]
|
||||
[ReadOnly]
|
||||
[HideLabel]
|
||||
private UXButton mBtntest;
|
||||
public UXButton Btntest => mBtntest;
|
||||
|
||||
[SerializeField]
|
||||
[ReadOnly]
|
||||
[HideLabel]
|
||||
private TextMeshProUGUI mTextTitl;
|
||||
public TextMeshProUGUI TextTitl => mTextTitl;
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ca1ef561ac5a9b8438b50785de7197dc
|
||||
@ -1,16 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class UXHotfixComponent : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 366fc66b74c28654189d16f54713ec0b
|
||||
@ -1,86 +0,0 @@
|
||||
[
|
||||
{
|
||||
"uiElementRegex": "Rect",
|
||||
"componentType": "RectTransform"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Obj",
|
||||
"componentType": "GameObject"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Tf",
|
||||
"componentType": "Transform"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Btn",
|
||||
"componentType": "UXButton"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Slider",
|
||||
"componentType": "Slider"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Img",
|
||||
"componentType": "Image"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "RImg",
|
||||
"componentType": "RawImage"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Scrollbar",
|
||||
"componentType": "Scrollbar"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "ScrollRect",
|
||||
"componentType": "ScrollRect"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "GLayout",
|
||||
"componentType": "GridLayoutGroup"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "HLayout",
|
||||
"componentType": "HorizontalLayoutGroup"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "VLayout",
|
||||
"componentType": "VerticalLayoutGroup"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Text",
|
||||
"componentType": "TMPro.TextMeshProUGUI"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "TogGroup",
|
||||
"componentType": "UXGroup"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Mask2D",
|
||||
"componentType": "RectMask2D"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Video",
|
||||
"componentType": "Video.VideoPlayer"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Input",
|
||||
"componentType": "TMPro.TMP_InputField"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "CanvasGroup",
|
||||
"componentType": "CanvasGroup"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "ScrollView",
|
||||
"componentType": "RecyclerView"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "Drag",
|
||||
"componentType": "UXDraggable"
|
||||
},
|
||||
{
|
||||
"uiElementRegex": "",
|
||||
"componentType": ""
|
||||
}
|
||||
]
|
||||
@ -75,7 +75,7 @@ MonoBehaviour:
|
||||
LoadType: 0
|
||||
- ProjectName: Hotfix
|
||||
NameSpace: Game.UI
|
||||
GenerateHolderCodePath: Assets/Scripts/Hotfix/GameLogic
|
||||
GenerateHolderCodePath: Assets/Scripts/Hotfix/GameLogic/UI//Generate
|
||||
UIPrefabRootPath: Assets/Bundles/UI
|
||||
LoadType: 1
|
||||
UIScriptGeneratorRuleHelper: AlicizaX.UI.Editor.DefaultIuiGeneratorRuleHelper
|
||||
|
||||
Loading…
Reference in New Issue
Block a user