From 0519b37ca5540bf8f40b8d7412f43624fca5d23c Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 27 十二月 2018 10:58:26 +0800
Subject: [PATCH] 3335 修改GM信息面板打开逻辑
---
System/Message/SysNotifyMgr.cs | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/System/Message/SysNotifyMgr.cs b/System/Message/SysNotifyMgr.cs
index 00896d8..66fec4d 100644
--- a/System/Message/SysNotifyMgr.cs
+++ b/System/Message/SysNotifyMgr.cs
@@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Text.RegularExpressions;
using TableConfig;
+using UnityEngine;
using UnityEngine.UI;
[XLua.LuaCallCSharp]
@@ -40,6 +41,16 @@
var instance = BattleHint.Instance;
}
+ private void LateUpdate()
+ {
+#if UNITY_EDITOR
+ if (Input.GetKeyDown(KeyCode.F3))
+ {
+ MessageWin.Inst.OnGMOpen();
+ }
+#endif
+ }
+
protected override void OnDestroy()
{
base.OnDestroy();
--
Gitblit v1.8.0