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