Пример #1
0
 public static void ShowLoginView()
 {
     if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor)
     {
         JoyYouNativeInterface.U3D_showLoginView();
     }
     else
     {
         JoyYouInterfaceSimulator.ShowLoginView();
     }
 }
Пример #2
0
 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();
     }
 }