Struct EditorPersistentValue<T>
Wrapper for EditorPrefs-backed values that survive domain reloads.
Inherited Members
Namespace: AutoGroupGenerator
Assembly: Unity.AutoGroupGenerator.Editor.dll
Syntax
public struct EditorPersistentValue<T>
Type Parameters
| Name | Description |
|---|---|
| T | A type that can be serialized by the JsonUtility class. |
Constructors
| Name | Description |
|---|---|
| EditorPersistentValue(T, string, Action) | Initializes a new persisted value. |
Properties
| Name | Description |
|---|---|
| Value | Gets or sets the persisted value. |
Methods
| Name | Description |
|---|---|
| ClearPersistentData() | Removes the persisted data from EditorPrefs. |