PersistenceStorageGetFloat Method
Get float by key.
If the key does not exist or the request fails, the default value will be returned.
If called on the main thread, consider using
GetFloatAsync(String, Single) instead.
Namespace: Alteruna.TrinityAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4+23572bbe79d00cde564b217419b1eba432b8e858
public float GetFloat(
string key,
float defaultValue = 0f
)
- key String
-
- defaultValue Single (Optional)
-
Single