docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)