Exemplo n.º 1
0
 public static void InitSDK(int appId, string appKey, bool logEnable, bool isLongConnect, bool rechargeEnable, int rechargeAmount, string closeRechargeAlertMsg, string notificationObjectName, bool isOriPortrait, bool isOriLandscapeLeft, bool isOriLandscapeRight, bool isOriPortraitUpsideDown)
 {
     if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor)
     {
         JoyYouNativeInterface.U3D_initSDK(appId, appKey, logEnable, isLongConnect, rechargeEnable, rechargeAmount, closeRechargeAlertMsg, notificationObjectName, isOriPortrait, isOriLandscapeLeft, isOriLandscapeRight, isOriPortraitUpsideDown);
     }
     else
     {
         JoyYouInterfaceSimulator.NotificationObjeName = notificationObjectName;
     }
 }