public static void ExchangeGoods(int price, string billNo, string billTitle, string roleId, int zoneId) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.U3D_exchangeGoods(price, billNo, billTitle, roleId, zoneId); } else { JoyYouInterfaceSimulator.Pay(); } }