Ejemplo n.º 1
0
 public static void ExchangeGoods(int price, string billNo, string billTitle, string roleId, int zoneId)
 {
     if (ThirdPlatformAdapter.tpItf != null && Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor)
     {
         ThirdPlatformAdapter.tpItf._U3D_exchangeGoods(price, billNo, billTitle, roleId, zoneId);
     }
     else
     {
         JoyYouInterfaceSimulator.Pay();
     }
 }
Ejemplo n.º 2
0
 public static void Logout()
 {
     if (ThirdPlatformAdapter.tpItf != null && Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor)
     {
         ThirdPlatformAdapter.tpItf._U3D_logout();
     }
     else
     {
         JoyYouInterfaceSimulator.Logout();
     }
 }