public void initSDKError(string appid, string message) { Debug.Log("initSDKError..unity3d.."); if (sdkInitListener != null) { sdkInitListener.initFail(message); } }
public void initSDK(string appId, string appKey, ATSDKInitListener listener) { Debug.Log("Unity:ATSDKAPIClient::initSDK(string, string, ATSDKInitListener)"); bool started = ATManager.StartSDK(appId, appKey); if (listener != null) { if (started) { listener.initSuccess(); } else { listener.initFail("Failed to init."); } } }