docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum RefreshReason

    Refresh(RefreshReason) uses these flags to determine what needs to be refreshed or updated.

    Namespace: UnityEditor.Timeline
    Assembly: Unity.Timeline.Editor.dll
    Syntax
    [Flags]
    public enum RefreshReason
    Remarks

    Use the | operator to combine flags.

    TimelineEditor.Refresh(RefreshReason.ContentsModified | RefreshReason.SceneNeedsUpdate);

    Fields

    Name Description
    ContentsAddedOrRemoved

    Use this flag when an element was added to or removed from the Timeline.

    ContentsModified

    Use this flag when a Timeline element was modified.

    SceneNeedsUpdate

    Use this flag when a change to the Timeline requires that the Scene be updated.

    WindowNeedsRedraw

    Use this flag when a change to the Timeline requires that the Timeline window be redrawn.

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