public void Register(AxisEvent evnt, AxisEventFunction _callback) { int index = axis.IndexOf(evnt); if (index >= 0) { axis.RemoveAt(index); callback.RemoveAt(index); } axis.Add(evnt); callback.Add(_callback); }
public void RegisterInputAxis(AxisEvent evnt, AxisEventFunction callback) { axisManager.Register(evnt, callback); }