- 调整了对话 UI 类型的命名,使其更具辨识度
- 显式标记还未实现的 BubbleDialogForm,避免误用的情况
This commit is contained in:
@@ -17,6 +17,6 @@ namespace Definition.Enum
|
||||
/// <summary>
|
||||
/// 对话气泡
|
||||
/// </summary>
|
||||
BubbleBox = 3
|
||||
Bubble = 3
|
||||
}
|
||||
}
|
||||
@@ -47,7 +47,7 @@ namespace UI
|
||||
/// <summary>
|
||||
/// 底部剧情对话界面。
|
||||
/// </summary>
|
||||
BottomDialogForm = 105,
|
||||
BottomBoxDialogForm = 105,
|
||||
|
||||
/// <summary>
|
||||
/// 气泡剧情对话界面。
|
||||
|
||||
@@ -90,8 +90,8 @@ namespace Procedure
|
||||
//InitializeProcedureState();
|
||||
GameEntry.Dialog.Init(1);
|
||||
|
||||
GameEntry.Dialog.StartDialog(1001);
|
||||
//GameEntry.Dialog.StartDialog(1002);
|
||||
//GameEntry.Dialog.StartDialog(1001);
|
||||
GameEntry.Dialog.StartDialog(1002);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using Definition.Enum;
|
||||
using GameFramework.Event;
|
||||
using UnityGameFramework.Runtime;
|
||||
@@ -109,9 +110,9 @@ namespace UI
|
||||
case DialogFormMode.Mask:
|
||||
return UIFormId.MaskDialogForm;
|
||||
case DialogFormMode.BottomBox:
|
||||
return UIFormId.BottomDialogForm;
|
||||
case DialogFormMode.BubbleBox:
|
||||
return UIFormId.BottomDialogForm;
|
||||
return UIFormId.BottomBoxDialogForm;
|
||||
case DialogFormMode.Bubble:
|
||||
throw new NotImplementedException("BubbleBox 对话框尚未实现");
|
||||
default:
|
||||
return UIFormId.Undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user