Example #1
0
        public static string GetSDKConfig(string type, string jsonData)
        {
            string result = string.Empty;

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