diff --git a/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BasicInformationUI.cs b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BasicInformationUI.cs new file mode 100644 index 0000000..825b929 --- /dev/null +++ b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BasicInformationUI.cs @@ -0,0 +1,7 @@ +namespace ZC +{ + [UIType(UIType.BasicInformationUI)] + public class BasicInformationUI : UIBase + { + } +} \ No newline at end of file diff --git a/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BasicInformationUI.cs.meta b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BasicInformationUI.cs.meta new file mode 100644 index 0000000..1379662 --- /dev/null +++ b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BasicInformationUI.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 74f502e15a4a4b7395115b6a9ffcad28 +timeCreated: 1730991383 \ No newline at end of file diff --git a/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BlackUI.cs b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BlackUI.cs new file mode 100644 index 0000000..4b1e8a1 --- /dev/null +++ b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BlackUI.cs @@ -0,0 +1,7 @@ +namespace ZC +{ + [UIType(UIType.BlackUI)] + public class BlackUI : UIBase + { + } +} \ No newline at end of file diff --git a/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BlackUI.cs.meta b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BlackUI.cs.meta new file mode 100644 index 0000000..1278821 --- /dev/null +++ b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/BlackUI.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: dd9abc3083384dc5a310404193297e5c +timeCreated: 1730991322 \ No newline at end of file diff --git a/Assets/DemoGame/GameScript/Hotfix/UI/Logic/DialogueUI.cs b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/DialogueUI.cs new file mode 100644 index 0000000..cfaf72f --- /dev/null +++ b/Assets/DemoGame/GameScript/Hotfix/UI/Logic/DialogueUI.cs @@ -0,0 +1,39 @@ +using System; +using TMPro; +using UnityEngine.UI; + +namespace ZC +{ + [UIType(UIType.DialogueUI)] + public class DialogueUI : UIBase + { + private TMP_Text txt_Title; + private TMP_Text txt_Content; + private Button btn_Close; + private Action callback; + + public override void Init() + { + base.Init(); + txt_Title = GetValue("txt_Title"); + txt_Content = GetValue("txt_Content"); + btn_Close = GetValue