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 |
|---|---|---|
| TimelineSequence | clip | The Sequence to delete. |
Record(TimelineSequence)
Records a sequence using its UnityEngine.Sequences.Sequence.start/UnityEngine.Sequences.Sequence.end time, UnityEngine.Sequences.Sequence.fps values and UnityEngine.Sequences.Sequence.name to set up the Recorder settings.
Declaration
public static void Record(this TimelineSequence clip)
Parameters
| Type | Name | Description |
|---|---|---|
| TimelineSequence | 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 |
|---|---|---|
| TimelineSequence | clip | The Sequence to rename. |
| string | newName | The new name to use. |