docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Smooth Step Tween

    Smooth step interpolation between 2 values within a time interval.

    Ports

    Inputs

    Port Name Type Default Value Description
    Trigger Trigger to start the interpolation.
    Trigger Trigger to stop and reset the interpolation.
    Trigger Trigger to pause the interpolation.
    Trigger Resets the internal timer.
    [Float] The value to interpolate from.
    [Float] The value to interpolate to.
    [Float] The duration of the interpolation (in seconds).

    Outputs

    Port Name Type Default Value Description
    Trigger Execute next action at every frame during the interpolation (i.e. not while paused).
    Trigger Execute next action when the interpolation runs to completion (i.e. Stop is not triggered).
    [Float] 0 Return the interpolated value between To and From at the current time.
    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)