From c2fb1cb94ef6a257d5e3627fa5d7e3e9bbcf2df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E8=AF=AD?= Date: Mon, 28 Oct 2024 19:05:36 +0800 Subject: [PATCH] no message --- client/Assets/Ether/Scripts/Module/UI/FrameBase.cs | 6 +----- client/Assets/Scripts/Component/Player/PlayerController.cs | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/client/Assets/Ether/Scripts/Module/UI/FrameBase.cs b/client/Assets/Ether/Scripts/Module/UI/FrameBase.cs index ab16e97..f7b38fd 100644 --- a/client/Assets/Ether/Scripts/Module/UI/FrameBase.cs +++ b/client/Assets/Ether/Scripts/Module/UI/FrameBase.cs @@ -254,11 +254,7 @@ namespace Ether Dictionary eventCache = new Dictionary(); - protected void AddEventListener(string eventName, Delegate callback) - { - //EventCenter.AddListener(eventName, callback); - } - + #endregion //========================================= 事件工具 ============================================ diff --git a/client/Assets/Scripts/Component/Player/PlayerController.cs b/client/Assets/Scripts/Component/Player/PlayerController.cs index dbdf815..507406e 100644 --- a/client/Assets/Scripts/Component/Player/PlayerController.cs +++ b/client/Assets/Scripts/Component/Player/PlayerController.cs @@ -26,7 +26,6 @@ namespace Ether private void OnEnable() { - //EventCenter.AddListener(ReInputEvent.Move, OnMove); EventCenter.AddListener(EtherInputEvent.Up, OnUp); EventCenter.AddListener(EtherInputEvent.Down, OnDown); EventCenter.AddListener(EtherInputEvent.Left, OnLeft);