ProceduralAsset.

MarkDependancy<T>(Func<T>) Method

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<T>(Func<T> dependancy)

Attributes

Type Description
ConditionalAttribute

Type Parameters

Name Description
T

Parameters

Name Type Description
dependancy Func<T>

Return Value

Type Description
void