PersistenceStorageGetFloatAsync Method
Get float by key asynchronously.
If the key does not exist or the request fails, the default value will be returned.
Namespace: Alteruna.TrinityAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
public Task<float> GetFloatAsync(
string key,
float defaultValue = 0f
)
- key String
-
- defaultValue Single (Optional)
-
TaskSingle