docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class SpriteLibrarySourceAssetFactory

    Class used for creating new Sprite Library Source Assets.

    Inheritance
    object
    SpriteLibrarySourceAssetFactory
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.U2D.Animation
    Assembly: solution.dll
    Syntax
    public static class SpriteLibrarySourceAssetFactory

    Fields

    Name Description
    extension

    Sprite Library Source Asset's extension.

    Methods

    Name Description
    Create(string, IEnumerable<ISpriteLibraryCategory>, string)

    Creates a new Sprite Library Source Asset at a given path.

    Create(string, SpriteLibraryAsset, string)

    Creates a new Sprite Library Source Asset at a given path.

    SaveAsSourceAsset(SpriteLibraryAsset, string, string)

    Creates a new Sprite Library Source Asset at a given path.

    In This Article
    Back to top
    Copyright © 2023 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)