public static void MapPointer(this InputMapping mapping, Action <PointerArgs> onUpdate, Action onCancel = null) { mapping.MapPointer(new PointerActionProxy(onUpdate, onCancel)); }
public static void MapTouch(this InputMapping mapping, Action <TouchArgs> onStart = null, Action <TouchArgs> onUpdate = null, Action <TouchArgs> onComplete = null, Action onCancel = null) { mapping.MapTouch(new TouchActionProxy(onStart, onUpdate, onComplete, onCancel)); }