Class CustomPrefabBuilder
Custom prefab builder attribute.
Namespace: UnityEngine.AssetGraph
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class CustomPrefabBuilder : Attribute, _Attribute
Constructors
CustomPrefabBuilder(String)
Declaration
public CustomPrefabBuilder(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name |
CustomPrefabBuilder(String, String)
Declaration
public CustomPrefabBuilder(string name, string version)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| String | version |
CustomPrefabBuilder(String, String, Int32)
Declaration
public CustomPrefabBuilder(string name, string version, int itemThreashold)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| String | version | |
| Int32 | itemThreashold |
Properties
AssetThreshold
Gets the asset threshold.
Declaration
public int AssetThreshold { get; }
Property Value
| Type | Description |
|---|---|
| Int32 | The asset threshold. |
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| String | The name. |
Version
Gets the version.
Declaration
public string Version { get; }
Property Value
| Type | Description |
|---|---|
| String | The version. |