Class PlayerPrefsStore<T>
Inheritance
PlayerPrefsStore<T>
Assembly: Glitch9.IO.dll
Syntax
public class PlayerPrefsStore<T> : IUniTaskStore<T>
Type Parameters
Constructors
|
Edit this page
View Source
PlayerPrefsStore(string, JsonSerializerSettings)
Declaration
public PlayerPrefsStore(string key, JsonSerializerSettings jss = null)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| JsonSerializerSettings |
jss |
|
Properties
|
Edit this page
View Source
StoreType
Declaration
public UniTaskStoreType StoreType { get; }
Property Value
Methods
|
Edit this page
View Source
LoadAsync(CancellationToken)
Declaration
public UniTask<T> LoadAsync(CancellationToken ct = default)
Parameters
Returns
| Type |
Description |
| UniTask<T> |
|
|
Edit this page
View Source
SaveAsync(T, CancellationToken)
Declaration
public UniTask SaveAsync(T value, CancellationToken ct = default)
Parameters
Returns
Implements
Extension Methods