Summary
[Editor-Conditional]
Marks the currently generating asset as requiring the specified `dependancy` so that whenever either is
generated, the dependancy is generated first.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural - Containing Type
- ProceduralAsset
Syntax
[System.Diagnostics.Conditional(WeaverUtilities.UnityEditor)]
public static void MarkDependancy(MethodInfo dependancy)
Attributes
| Type | Description |
|---|---|
| ConditionalAttribute |
Parameters
| Name | Type | Description |
|---|---|---|
| dependancy | MethodInfo |
Return Value
| Type | Description |
|---|---|
| void |