docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct InputAxis.RecenteringSettings

    Defines the settings for automatic re-centering

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct InputAxis.RecenteringSettings

    Fields

    Name Description
    Enabled

    If set, will enable automatic re-centering of the axis

    Time

    How long it takes to reach center once re-centering has started

    Wait

    If no user input has been detected on the axis for this man seconds, re-centering will begin.

    Properties

    Name Description
    Default

    Default value

    Methods

    Name Description
    Validate()

    Call from OnValidate: Make sure the fields are sensible

    In This Article
    Back to top
    Copyright © 2023 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)