Summary
[Editor-Only]
Specifies which asset type can be generated by the attributed class (which must inherit from
Weaver.Editor.Procedural.AssetGenerator).
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural - Base Types
-
- Attribute
graph BT
Type-->Base0["Attribute"]
Type["AssetGeneratorAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class AssetGeneratorAttribute : Attribute
Attributes
| Type | Description |
|---|---|
| Attribute |
Constructors
| Name | Summary |
|---|---|
| Asset |
Indicates that the attributed class can generate the specified `assetType`. |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| AssetType |
The type of assets that can be generated by the attributed class.
|