Summary
[Editor-Only] [Pro-Only]
Appends C# code to get the value of this pref from persistent storage.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- PrefAttribute
Syntax
public void AppendPrefGetter(StringBuilder script, Type type, string key, Object defaultValue)
Parameters
| Name | Type | Description |
|---|---|---|
| script | StringBuilder | |
| type | Type | |
| key | string | |
| defaultValue | Object |
Return Value
| Type | Description |
|---|---|
| void |