docs.unity3d.com
    目次を表示する/隠す

    Class TimelineSequenceExtensions

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

    Inheritance
    Object
    TimelineSequenceExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Sequences
    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, Boolean)

    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.

    Boolean 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.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)