docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Update

    Update(Vector3, float)

    Based on new position data, calculates how much shake this object is currently experiencing

    Declaration
    public void Update(Vector3 newPosition, float timeSlice)
    Parameters
    Type Name Description
    Vector3 newPosition

    The new position of this shaken object

    float timeSlice

    How much time has passed to get to this new position

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