예제 #1
0
    /// <summary>
    /// 刷新流目录(清空后拷贝所有补丁包到流目录)
    /// </summary>
    private void RefreshStreammingFolder()
    {
        string streamingPath = Application.dataPath + "/StreamingAssets";

        EditorTools.ClearFolder(streamingPath);

        string outputRoot = AssetHelper.MakeDefaultOutputRootPath();

        AssetHelper.CopyPackageToStreamingFolder(_assetBuilder.BuildTarget, outputRoot);
    }
예제 #2
0
    /// <summary>
    /// 刷新输出主目录(清空后拷贝所有补丁包到输出主目录)
    /// </summary>
    private void RefreshOutputMainFolder()
    {
        string outputPath = _assetBuilder.OutputPath;

        EditorTools.ClearFolder(outputPath);

        string outputRoot = AssetHelper.MakeDefaultOutputRootPath();

        AssetHelper.CopyPackageToManifestFolder(_assetBuilder.BuildTarget, outputRoot);
    }
예제 #3
0
    /// <summary>
    /// 清空流文件夹
    /// </summary>
    public static void ClearStreamingAssetsFolder()
    {
        string streamingPath = Application.dataPath + "/StreamingAssets";

        EditorTools.ClearFolder(streamingPath);
    }