docs.unity.cn
    Show / Hide Table of Contents

    Total Time

    Menu Path : Operator > BuiltIn > Total Time

    The Total Time Operator outputs the total time since the effect started. This is an accumulation of each frame's deltaTime which means that it takes the timeScale and playRate into account. This increments even if the renderer is culled.

    This value resets to 0 when the VisualEffect component resets. This occurs if you call VisualEffect.Reinit or disable then enable the GameObject.

    Operator properties

    Output Type Description
    totalTime float The total time the effect has run for.
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, September 21, 2021