Class TimelineSequenceExtensions
This class extends the TimelineSequence asset management with Unity Editor basic capabilities: save, delete, rename, record.
Inherited Members
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 |
---|---|---|
Timeline |
clip | The Sequence to delete. |
Record(TimelineSequence)
Records a sequence using its Unity
Declaration
public static void Record(this TimelineSequence clip)
Parameters
Type | Name | Description |
---|---|---|
Timeline |
clip | The Sequence to record. |
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 |
---|---|---|
Timeline |
clip | The Sequence to rename. |
string | newName | The new name to use. |