public static void ShowWaterMark() { if (true == Gamebase.IsSandbox()) { if (null == GamebaseUnitySDKSettings.GetComponent <GamebaseWaterMark>()) { GamebaseUnitySDKSettings.AddComponent <GamebaseWaterMark>(); } } }
private string HealthCheckURL() { switch (GamebaseUnitySDK.ZoneType) { case "real": var info = string.Format("/tcgb-gateway/{0}/apps/{1}/health", Lighthouse.API.VERSION, GamebaseUnitySDK.AppID); if (GamebaseUnitySDK.IsInitialized == false) { return("https://api-gamebase.cloud.toast.com/tcgb-gateway/v1.0/apps/MASf2WiO/health"); } return((Gamebase.IsSandbox()) ? string.Format("https://sandbox-api-gamebase.cloud.toast.com{0}", info) : string.Format("https://api-gamebase.cloud.toast.com{0}", info)); default: return("https://sandbox-api-gamebase.cloud.toast.com/tcgb-gateway/v1.0/apps/gwJZCFnR/health"); } }