You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
1 week ago
|
using UnityEngine;
|
||
|
using PlayFab;
|
||
|
|
||
|
#if UNITY_5_3_OR_NEWER
|
||
|
[CreateAssetMenu(fileName = "PlayFabSharedSettings", menuName = "PlayFab/CreateSharedSettings", order = 1)]
|
||
|
#endif
|
||
|
public class PlayFabSharedSettings : ScriptableObject
|
||
|
{
|
||
|
public string TitleId;
|
||
|
|
||
|
internal string VerticalName = null;
|
||
|
#if ENABLE_PLAYFABSERVER_API || ENABLE_PLAYFABADMIN_API || UNITY_EDITOR || ENABLE_PLAYFAB_SECRETKEY
|
||
|
public string DeveloperSecretKey;
|
||
|
#endif
|
||
|
public string ProductionEnvironmentUrl = "";
|
||
|
|
||
|
#if UNITY_2017_2_OR_NEWER
|
||
|
public WebRequestType RequestType = WebRequestType.UnityWebRequest;
|
||
|
#else
|
||
|
public WebRequestType RequestType = WebRequestType.UnityWww;
|
||
|
#endif
|
||
|
|
||
|
public bool DisableDeviceInfo;
|
||
|
public bool DisableFocusTimeCollection;
|
||
|
|
||
|
public int RequestTimeout = 2000;
|
||
|
public bool RequestKeepAlive = true;
|
||
|
public bool CompressResponses = false;
|
||
|
public bool DecompressWithDownloadHandler = true;
|
||
|
|
||
|
public PlayFabLogLevel LogLevel = PlayFabLogLevel.Warning | PlayFabLogLevel.Error;
|
||
|
public string LoggerHost = "";
|
||
|
public int LoggerPort = 0;
|
||
|
public bool EnableRealTimeLogging = false;
|
||
|
public int LogCapLimit = 30;
|
||
|
}
|