fix: button input methods having wrong signatures
This commit is contained in:
parent
b5140a94de
commit
0d61735ae5
@ -7,10 +7,10 @@ public interface IButtonInputs<T> : IHasStateEnable
|
|||||||
Event<IButtonInputs<T>, ButtonCallbackArguments> OnAnyButtonPressed { get; }
|
Event<IButtonInputs<T>, ButtonCallbackArguments> OnAnyButtonPressed { get; }
|
||||||
Event<IButtonInputs<T>, ButtonCallbackArguments> OnAnyButtonReleased { get; }
|
Event<IButtonInputs<T>, ButtonCallbackArguments> OnAnyButtonReleased { get; }
|
||||||
|
|
||||||
void RegisterOnPress(T button, ButtonCallbackArguments callback);
|
void RegisterOnPress(T button, Event<IButtonInputs<T>, ButtonCallbackArguments>.EventHandler callback);
|
||||||
void UnregisterOnPress(T button, ButtonCallbackArguments callback);
|
void UnregisterOnPress(T button, Event<IButtonInputs<T>, ButtonCallbackArguments>.EventHandler callback);
|
||||||
void RegisterOnRelease(T button, ButtonCallbackArguments callback);
|
void RegisterOnRelease(T button, Event<IButtonInputs<T>, ButtonCallbackArguments>.EventHandler callback);
|
||||||
void UnregisterOnRelease(T button, ButtonCallbackArguments callback);
|
void UnregisterOnRelease(T button, Event<IButtonInputs<T>, ButtonCallbackArguments>.EventHandler callback);
|
||||||
|
|
||||||
bool IsPressed(T button);
|
bool IsPressed(T button);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user