Summary
[Editor-Only]
Attempts to initialize this attribute and returns true if successful.
Specifically, this method ensures that the
Weaver.InjectionAttribute.MemberType inherits from
UnityEngine.Object.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- Asset
Injection Attribute
Syntax
protected bool TryInitialize(Type assetType)
Parameters
| Name | Type | Description |
|---|---|---|
| assetType | Type |
Return Value
| Type | Description |
|---|---|
| bool |