public static void ShowLoginView() { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.U3D_showLoginView(); } else { JoyYouInterfaceSimulator.ShowLoginView(); } }
public static void HLLogin(string username, string password) { if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor) { JoyYouNativeInterface.AndroidInvoke("__ICommonSDKPlatform", "Login", new object[] { username, password, string.Empty }); } else { JoyYouInterfaceSimulator.ShowLoginView(); } }