Interface IInputAxisResetSource
Components that can generate an input axis reset must implement this interface.
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public interface IInputAxisResetSource
Properties
HasResetHandler
Checks whether any reset handlers have been registered
Declaration
bool HasResetHandler { get; }
Property Value
Type | Description |
---|---|
bool | True if at least one reset handler is registered |
Methods
RegisterResetHandler(Action)
Register a handler that will be called when input needs to be reset
Declaration
void RegisterResetHandler(Action handler)
Parameters
Type | Name | Description |
---|---|---|
Action | handler | Then handler to register |
UnregisterResetHandler(Action)
Unregister a handler that will be called when input needs to be reset
Declaration
void UnregisterResetHandler(Action handler)
Parameters
Type | Name | Description |
---|---|---|
Action | handler | Then handler to unregister |