no message
This commit is contained in:
parent
5b60f7aa7d
commit
c2fb1cb94e
@ -254,11 +254,7 @@ namespace Ether
|
||||
|
||||
Dictionary<string, Delegate> eventCache = new Dictionary<string, Delegate>();
|
||||
|
||||
protected void AddEventListener(string eventName, Delegate callback)
|
||||
{
|
||||
//EventCenter.AddListener(eventName, callback);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
//========================================= 事件工具 ============================================
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user