Summary
Appends C# code which retrieves the appropriate value from a serialized field and assigns it to the target
property.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural - Containing Type
- Injector
Script Builder
Syntax
public string AppendGetSerializedReference(StringBuilder text, int indent, Type type, bool dontDestroyOnLoad, string fieldName = "obj")
Parameters
Name | Type | Description |
---|---|---|
text | StringBuilder | |
indent | int | |
type | Type | |
dontDestroyOnLoad | bool | |
fieldName | string |
Return Value
Type | Description |
---|---|
string |