Class CustomAssetGenerator
Attribute for Custom Asset Generator.
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. |