docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MasterSequenceExtensions

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

    Inheritance
    object
    MasterSequenceExtensions
    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 MasterSequenceExtensions

    Methods

    Delete(MasterSequence)

    Deletes the MasterSequence asset from disk. This also deletes the MasterSequence asset folder if it is empty after the operation.

    Declaration
    public static void Delete(this MasterSequence masterSequence)
    Parameters
    Type Name Description
    MasterSequence masterSequence

    The MasterSequence asset to delete.

    Rename(MasterSequence, string)

    Renames the MasterSequence asset on disk.

    Declaration
    public static bool Rename(this MasterSequence masterSequence, string newName)
    Parameters
    Type Name Description
    MasterSequence masterSequence

    The MasterSequence asset to rename.

    string newName

    The new name to use.

    Returns
    Type Description
    bool

    True if the rename was a success. False otherwise.

    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)