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(); } }
public static void Logout() { if (ThirdPlatformAdapter.tpItf != null && Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { ThirdPlatformAdapter.tpItf._U3D_logout(); } else { JoyYouInterfaceSimulator.Logout(); } }