+事件连琐
+对话框分化完毕 +打包Resources文件夹
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
public class DialogPopArgs : System.EventArgs
|
||||
{
|
||||
public int Index { get; private set; }
|
||||
public bool IsScreenDialog { get;private set; }
|
||||
|
||||
public DialogPopArgs(int index)
|
||||
{
|
||||
|
||||
@@ -43,6 +43,18 @@ namespace Event
|
||||
public event PlayerWalkStopHandler PlayerWalkStop;
|
||||
public event PlayerWalkingHandler PlayerWalking;
|
||||
|
||||
public void DialogEventSwitch(string eventName, string args)
|
||||
{
|
||||
switch (eventName)
|
||||
{
|
||||
case "OnDialogPop":
|
||||
OnDialogPop(int.Parse(args));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void OnCameraInterAct(GameObject item)
|
||||
{
|
||||
CameraInterAct?.Invoke(new CameraInterActArgs(item));
|
||||
|
||||
Reference in New Issue
Block a user