AssetInjectionAttribute.

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
AssetInjectionAttribute

Syntax

public virtual bool ValidateAsset(Object asset)

Parameters

Name Type Description
asset Object

Return Value

Type Description
bool