升级框架版本

This commit is contained in:
Bob.Song
2025-11-12 17:24:02 +08:00
parent 4059c207c0
commit 5e6119a073
2246 changed files with 6233 additions and 313 deletions

View File

@@ -0,0 +1,24 @@
using System.IO;
using UnityEditor;
using UnityEditor.EditorTools;
using UnityEngine;
namespace NBC.Editor
{
[Id(TaskId.CopyToStreamingAssets)]
public class CopyToStreamingAssets : BuildTask
{
public override void Run(BuildContext context)
{
var last = HistoryUtil.GetLastVersionHistory();
if (last != null)
{
last.CopyToStreamingAssets();
}
else
{
Debug.LogError("copy version is null,version history is null");
}
}
}
}