Summary
Replaces the method name used in the "This file was procedurally generated by ... Any modifications will be
overwritten." comment at the top of a procedural script.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural - Base Types
-
- Attribute
graph BT
Type-->Base0["Attribute"]
Type["ScriptGenerator.AliasAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Method)]
public sealed class ScriptGenerator.AliasAttribute : Attribute
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
AliasAttribute |
Creates a new Weaver.Editor.Procedural.ScriptGenerator.AliasAttribute and sets the Weaver.Editor.Procedural.ScriptGenerator.AliasAttribute.GeneratedBy field. |
Fields
Name | Constant Value | Summary |
---|---|---|
GeneratedBy |
The name to use.
|
Methods
Name | Value | Summary |
---|---|---|
GetAlias |
string |
Returns the alias of the specified `script` if it has an
Weaver.Editor.Procedural.ScriptGenerator.AliasAttribute , otherwise
the full name of its generator method is used.
static
|