Enum RefreshReason | Timeline | 1.2.18
docs.unity3d.com
    Show / Hide Table of Contents

    Enum RefreshReason

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

    Namespace: UnityEditor.Timeline
    Syntax
    [Flags]
    public enum RefreshReason
    Remarks

    Use the | operator to combine flags. TimelineEditor.Refresh(RefreshReason.ContentsModified | RefreshReason.SceneNeedsUpdate);

    Fields

    Name Description Value
    WindowNeedsRedraw

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

    1
    SceneNeedsUpdate

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

    2
    ContentsModified

    Use this flag when a Timeline element was modified.

    4
    ContentsAddedOrRemoved

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

    8
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023