// internal class InnerBacktoryMatchUnityApi : BacktoryMatchUnityApi { // internal InnerBacktoryMatchUnityApi(String address, String matchId) : base(address, matchId) { // } // // override // internal String GetConnectivityId() { // return X_BACKTORY_CONNECTIVITY_ID; // } // } public static void Initialize(String xBacktoryConnectivityId /*, Context baseContext*/) { // Alireza //if(UnityThreadHelper.Dispatcher == null) { // throw new Exception("Initialization should run on main thread"); //} if (backtoryApi == null) { backtoryApi = new BacktoryRealtimeUnityApi(xBacktoryConnectivityId /*, baseContext*/); } }
internal InnerBacktoryConnectivityUnityApi(UnityPlatform unityPlatform, BacktoryRealtimeUnityApi unityApi) : base(unityPlatform) { outClass = unityApi; }