Exemplo n.º 1
0
        public static void logout()
        {
#if UNITY_EDITOR
            {
                Debug.Log("GamePot - UNITY EDITOR DUMMY CALLBACK logout always success");
                // Temporary user info for UnityEditor Development mode
                if (GamePotEventListener.s_instance != null)
                {
                    GamePotEventListener.s_instance.onLogoutSuccess("");
                }
                else
                {
                    Debug.LogError("GamePot UnityEditor listener is NULL");
                }
            }
#elif UNITY_IOS
            GamePotUnityPluginiOS.logout();
#elif UNITY_ANDROID
            GamePotUnityPluginAOS.logout();
#endif
        }