docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TimelineSequenceExtensions

    This class extends the TimelineSequence asset management with Unity Editor basic capabilities: save, delete, rename, record.

    Inheritance
    object
    TimelineSequenceExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Sequences
    Assembly: Unity.Sequences.Editor.dll
    Syntax
    public static class TimelineSequenceExtensions

    Methods

    Delete(TimelineSequence)

    Deletes the specified Sequence from disk. Technically speaking, this method deletes the TimelineAsset associated to the specified Sequence.

    Declaration
    public static void Delete(this TimelineSequence clip)
    Parameters
    Type Name Description
    TimelineSequence clip

    The Sequence to delete.

    Record(TimelineSequence, bool)

    Records a sequence using its start/end time, fps values and name to set up the Recorder settings.

    Declaration
    public static void Record(this TimelineSequence clip, bool recordAs = false)
    Parameters
    Type Name Description
    TimelineSequence clip

    The Sequence to record.

    bool recordAs

    True to open the RecorderWindow and allow manual parameterization before recording, false to launch a record with current settings.

    Rename(TimelineSequence, string)

    Renames the specified Sequence. Technically speaking, this method renames the TimelineAsset associated to the specified Sequence.

    Declaration
    public static void Rename(this TimelineSequence clip, string newName)
    Parameters
    Type Name Description
    TimelineSequence clip

    The Sequence to rename.

    string newName

    The new name to use.

    Save(TimelineSequence, string)

    Saves the specified Sequence on disk. Technically speaking, this method saves the TimelineAsset associated to the specified Sequence in the folder of the MasterSequence.

    Declaration
    public static void Save(this TimelineSequence clip, string folder = null)
    Parameters
    Type Name Description
    TimelineSequence clip

    The Sequence to save.

    string folder

    Optional sub-folders of the Assets/Sequences folder to save the MasterSequence asset to. The method creates the specified sub-folders if they doesn't already exist.

    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)