添加对话框事件以及对话持久化文件
This commit is contained in:
@@ -33,10 +33,16 @@ namespace Event
|
||||
}
|
||||
|
||||
public event CameraInterActHandler CameraInterAct;
|
||||
public event DialogPopHandler DialogPop;
|
||||
|
||||
public void OnCameraInterAct(GameObject item)
|
||||
{
|
||||
CameraInterAct?.Invoke(new CameraInterActArgs(item));
|
||||
}
|
||||
|
||||
public void OnDialogPop(int index)
|
||||
{
|
||||
DialogPop?.Invoke(new DialogPopArgs(index));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user