AssetReferenceAttribute.

ValidateAsset(Object) Method

Summary

[Editor-Only] Indicates whether the specified `asset` can be injected into the attributed Weaver.InjectionAttribute.Member by this attribute.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
AssetReferenceAttribute

Syntax

public override bool ValidateAsset(Object asset)

Parameters

Name Type Description
asset Object

Return Value

Type Description
bool