Example #1
0
        public static bool CheckStatus(string type, string jsonData)
        {
            bool result;

            if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor)
            {
                result = JoyYouNativeInterface.AndroidInvoke <bool>("__ICommonSDKPlatform", "CheckStatus", new object[]
                {
                    type,
                    jsonData
                });
            }
            else
            {
                result = JoyYouInterfaceSimulator.CheckStatus(type, jsonData);
            }
            return(result);
        }