docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    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)