예제 #1
0
        public static void BuildStandaloneRes()
        {
            FileUtilTool.CopyFile("IOS_Build/appleversion.dat", Application.streamingAssetsPath + "/appleversion.dat");
            Version v = BuildTool.versionRes;

            Version.SaveVersion2StreamingAsset(v);
            BuildTool.SwitchActiveBuildTarget(BuildTarget.StandaloneWindows64);
            ResTool.BuildLocalRes();
        }
예제 #2
0
        public static void BuildIOSRes()
        {
            //AndroidOneKeyTool.UpdateStreaming();
            FileUtilTool.CopyFile("IOS_Build/appleversion.dat", Application.streamingAssetsPath + "/appleversion.dat");
            Version v = BuildTool.versionRes;

            //v.UpgradeLittleVersion();
            Version.SaveVersion2StreamingAsset(v);
            //AndroidOneKeyTool.CallShellCommandForVersionRes();
            BuildTool.SwitchActiveBuildTarget(BuildTarget.iOS);

            ResTool.BuildLocalRes();
        }