AssetInjectionAttribute.

ManuallyAssignAsset(Object) Method

Summary

[Editor-Only] Tries to set the Weaver.AssetInjectionAttribute.Asset and records an UnityEditor.Undo state for it.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
AssetInjectionAttribute

Syntax

protected void ManuallyAssignAsset(Object asset)

Parameters

Name Type Description
asset Object

Return Value

Type Description
void