Interface IInputAxisController
This interface identifies a behaviour that can drive IInputAxisOwners.
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public interface IInputAxisController
Methods
ControllersAreValid()
Available in Editor only. Used to check if a controller synchronization is necessary. Normally we should have one controller per IInputAxisOwner axis.
Declaration
bool ControllersAreValid()
Returns
Type | Description |
---|---|
bool | True if there is one controller defined per IInputAxisOwner axis, false if there is a mismatch |
SynchronizeControllers()
Called by editor only. Normally we should have one controller per IInputAxisOwner axis. This will scan the object for IInputAxisOwner behaviours, create missing controllers (in their default state), and remove any that are no longer relevant.
Declaration
void SynchronizeControllers()