no message

This commit is contained in:
梦语 2024-10-28 19:05:36 +08:00
parent 5b60f7aa7d
commit c2fb1cb94e
2 changed files with 1 additions and 6 deletions

View File

@ -254,10 +254,6 @@ namespace Ether
Dictionary<string, Delegate> eventCache = new Dictionary<string, Delegate>();
protected void AddEventListener(string eventName, Delegate callback)
{
//EventCenter.AddListener(eventName, callback);
}
#endregion

View File

@ -26,7 +26,6 @@ namespace Ether
private void OnEnable()
{
//EventCenter.AddListener<ReInputEvent, Vector2>(ReInputEvent.Move, OnMove);
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Up, OnUp);
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Down, OnDown);
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Left, OnLeft);