コード例 #1
0
    public static void SDKInit(SDKEventHandler callback, string callObjName)
    {
        OnInited = callback;
#if SDK_91
        // TODO: API:SDK初始化
        CSDKInit(SDKConst.appid, SDKConst.appKey, mDebug);
#elif SDK_PP
        Bonjour.initSDK(SDKConst.appid, SDKConst.appKey, true, 100, true, true, true, "", true, true, false, false, callObjName);
#elif SDK_HM
#elif SDK_AB
        Entry.initSDK(SDKConst.appid.ToString(), SDKConst.appKey, 1);
#elif SDK_TBT
        SDK.TBSetUseOldLoadingMode(isUseOldMode);
        isUseOldMode = !isUseOldMode;
        SDK.TBInit(SDKConst.appid);
#endif
    }
コード例 #2
0
    /// <summary>
    /// 初始化
    /// </summary>
    public override void Init()
    {
#if IOSPP && !UNITY_EDITOR
        Bonjour.initSDK(APP_ID, APP_KEY, paramIsNSlogData, paramRechargeAmount, paramIsLongComet, paramIsLogOutPushLoginView, paramIsOpenRecharge, "close recharge message", paramIsDeviceOrientationLandscapeLeft, paramIsDeviceOrientationLandscapeRight, paramIsDeviceOrientationPortrait, paramIsDeviceOrientationPortraitUpsideDown, paramSendMsgNotiClass);
#endif
    }