Class CustomModifier
CustomModifier attribute is to declare the class is used as a IModifier.
Namespace: UnityEngine.AssetGraph
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class CustomModifier : Attribute, _Attribute
Constructors
CustomModifier(String, Type)
CustomModifier declares the class is used as a IModifier.
Declaration
public CustomModifier(string name, Type modifyFor)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of Modifier appears on GUI. |
Type | modifyFor | Type of asset Modifier modifies. |
Properties
For
Type of asset Modifier modifies.
Declaration
public Type For { get; }
Property Value
Type | Description |
---|---|
Type | For. |
Name
Name of Modifier appears on GUI.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String | The name. |