Class CustomAssetGenerator | Asset Graph | 1.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class CustomAssetGenerator

    Attribute for Custom Asset Generator.

    Inheritance
    Object
    Attribute
    CustomAssetGenerator
    Namespace: UnityEngine.AssetGraph
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class CustomAssetGenerator : Attribute, _Attribute

    Constructors

    CustomAssetGenerator(String)

    Declaration
    public CustomAssetGenerator(string name)
    Parameters
    Type Name Description
    String name

    CustomAssetGenerator(String, String)

    Declaration
    public CustomAssetGenerator(string name, string version)
    Parameters
    Type Name Description
    String name
    String version

    CustomAssetGenerator(String, String, Int32)

    Declaration
    public CustomAssetGenerator(string name, string version, int itemThreashold)
    Parameters
    Type Name Description
    String name
    String version
    Int32 itemThreashold

    Properties

    Name

    GUI name of the generator.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    The GUI name of the generator.

    Version

    Version string of the generator. Version string is useful to force update all generated assets when generator have catastrophic changes.

    Declaration
    public string Version { get; }
    Property Value
    Type Description
    String

    The version string.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023