private ITransportPlugin CreatePlayFabTransportPlugin() { ITransportPlugin transport = null; #if !UNITY_WSA && !UNITY_WP8 if (PlayFabSettings.RequestType == WebRequestType.HttpWebRequest) { transport = new PlayFabWebRequest(); } #endif #if UNITY_2017_2_OR_NEWER if (PlayFabSettings.RequestType == WebRequestType.UnityWww) { transport = new PlayFabWww(); } if (transport == null) { transport = new PlayFabUnityHttp(); } #else if (transport == null) { transport = new PlayFabWww(); } #endif return(transport); }
public ProfileSubjectControl(object ds, ITransportPlugin plugin) : this() { _bindingSource.DataSource = ds; _plugin = plugin; _bindingSource.CurrentItemChanged += (sender, e) => { RaisePropertyChangedEvent(); }; }