docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CancelDamping

    CancelDamping(bool)

    Temporarily cancel damping for this frame. The camera will sanp to its target position when it is updated.

    Declaration
    public void CancelDamping(bool updateNow = false)
    Parameters
    Type Name Description
    bool updateNow

    If true, snap the camera to its target immediately, otherwise wait until the end of the frame when cameras are normally updated.

    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)