在线参数接口
This commit is contained in:
parent
639865ca86
commit
e76cb79387
|
@ -75,6 +75,30 @@ public class AppSDKManager : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region 在线参数
|
||||||
|
|
||||||
|
public bool GetRemoteConfigBool(string key, bool defaultValue = false)
|
||||||
|
{
|
||||||
|
return FireBaseRemoteConfigManager.Instance.GetRemoteConfigBool(key, defaultValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
public int GetRemoteConfigInt(string key, int defaultValue = 0)
|
||||||
|
{
|
||||||
|
return FireBaseRemoteConfigManager.Instance.GetRemoteConfigInt(key, defaultValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
public string GetRemoteConfigString(string key, string defaultValue = "")
|
||||||
|
{
|
||||||
|
return FireBaseRemoteConfigManager.Instance.GetRemoteConfigString(key, defaultValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
public float GetRemoteConfigFloat(string key, float defaultValue = 0)
|
||||||
|
{
|
||||||
|
return FireBaseRemoteConfigManager.Instance.GetRemoteConfigFloat(key, defaultValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
#region EFSDK
|
#region EFSDK
|
||||||
|
|
||||||
|
|
|
@ -144,7 +144,7 @@ public class FireBaseRemoteConfigManager : NormalSingleton<FireBaseRemoteConfigM
|
||||||
/// <param name="key"></param>
|
/// <param name="key"></param>
|
||||||
/// <param name="defaultValue"></param>
|
/// <param name="defaultValue"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public float GetRemoteConfigBool(string key, float defaultValue = 0, bool IsEncrypt = false)
|
public float GetRemoteConfigFloat(string key, float defaultValue = 0, bool IsEncrypt = false)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue