public static void deleteLinking(NCommon.LinkingType linkingType)
        {
#if UNITY_IOS
            {
                deleteLinkingByUnity(linkingType.ToString());
            }
#elif UNITY_EDITOR
            {
                Debug.Log("GamePot - UNITY EDITOR DUMMY CALLBACK deleteLinking always failure");
                // Temporary user info for UnityEditor Development mode
                if (GamePotEventListener.s_instance != null)
                {
                    GamePotEventListener.s_instance.onDeleteLinkingFailure("");
                }
                else
                {
                    Debug.LogError("GamePot UnityEditor listener is NULL");
                }
            }
#endif
        }
Exemplo n.º 2
0
        public static void createLinking(NCommon.LinkingType linkType)
        {
#if UNITY_ANDROID
            {
                if (mGamePotClass != null)
                {
                    mGamePotClass.CallStatic("createLinking", linkType.ToString());
                }
            }
#elif UNITY_EDITOR
            {
                Debug.Log("GamePot - UNITY EDITOR DUMMY CALLBACK createLinking always cancelled");
                // Temporary user info for UnityEditor Development mode
                if (GamePotEventListener.s_instance != null)
                {
                    GamePotEventListener.s_instance.onCreateLinkingCancel("");
                }
                else
                {
                    Debug.LogError("GamePot UnityEditor listener is NULL");
                }
            }
#endif
        }