Esempio n. 1
0
        static void OnBuildingEnd(BuildTarget target, string path)
        {
            ProjectSettingIOS ps = null;

#if UNITY_IOS //tencent
            ps = new ProjectSettingIOS_Tencent();
#endif

            if (ps != null)
            {
                ps.PostProcessBuild(target, path);
                Debug.Log("Build Task over !");
            }
        }
        static void OnBuildingEnd(BuildTarget target, string path)
        {
            ProjectSettingIOS ps = null;

#if UNITY_IOS //tencent
            ps = new ProjectSettingIOS_Tencent();
#endif

            if (ps == null)
            {
                Debug.LogError("No platform matched, please check it!");
                return;
            }

            ps.PostProcessBuild(target, path);

            // string autoPackageScriptPath = Path.Combine(path, "build.sh");
            // CreatePackageScript(autoPackageScriptPath);
            // RunPackageScript(autoPackageScriptPath);

            Debug.Log("Build Task over !");
        }