public PointerInputCmdHandler(PointerInputCmdDelegate callback) : this((in PointerInputCmdArgs args) =>
public PointerInputCmdHandler(PointerInputCmdDelegate callback) { _callback = callback; }
/// <summary> /// Handler which will handle the command using the indicated callback /// </summary> /// <param name="callback">callback to handle the command</param> /// <param name="ignoreUp">whether keyup actions will be ignored by this handler (like lifting a key or releasing /// mouse button)</param> public PointerInputCmdHandler(PointerInputCmdDelegate callback, bool ignoreUp = true) : this((in PointerInputCmdArgs args) =>
public PointerStateInputCmdHandler(PointerInputCmdDelegate enabled, PointerInputCmdDelegate disabled) { _enabled = enabled; _disabled = disabled; }
/// <summary> /// Handler which will handle the command using the indicated callback /// </summary> /// <param name="callback">callback to handle the command</param> /// <param name="ignoreUp">whether keyup actions will be ignored by this handler (like lifting a key or releasing /// mouse button)</param> public PointerInputCmdHandler(PointerInputCmdDelegate callback, bool ignoreUp = true, bool outsidePrediction = false) : this((in PointerInputCmdArgs args) =>