no message
This commit is contained in:
parent
5b60f7aa7d
commit
c2fb1cb94e
@ -254,10 +254,6 @@ namespace Ether
|
|||||||
|
|
||||||
Dictionary<string, Delegate> eventCache = new Dictionary<string, Delegate>();
|
Dictionary<string, Delegate> eventCache = new Dictionary<string, Delegate>();
|
||||||
|
|
||||||
protected void AddEventListener(string eventName, Delegate callback)
|
|
||||||
{
|
|
||||||
//EventCenter.AddListener(eventName, callback);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ namespace Ether
|
|||||||
|
|
||||||
private void OnEnable()
|
private void OnEnable()
|
||||||
{
|
{
|
||||||
//EventCenter.AddListener<ReInputEvent, Vector2>(ReInputEvent.Move, OnMove);
|
|
||||||
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Up, OnUp);
|
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Up, OnUp);
|
||||||
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Down, OnDown);
|
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Down, OnDown);
|
||||||
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Left, OnLeft);
|
EventCenter.AddListener<EtherInputEvent, bool>(EtherInputEvent.Left, OnLeft);
|
||||||
|
Loading…
Reference in New Issue
Block a user