【m】插件上传

This commit is contained in:
2026-04-28 16:48:04 +08:00
parent 459db5ec01
commit 753878bdbb
631 changed files with 91583 additions and 11 deletions

View File

@@ -0,0 +1,22 @@
using System; //Action
using UnityEditor.PackageManager; //PackageInfo
using UnityEditor.PackageManager.Requests; //ListRequest, AddRequest, etc
namespace Unity.RenderStreaming.Editor
{
class AddRequestInfo
{
internal string PackageName;
internal Action<Request<PackageInfo>> OnSuccessAction;
internal Action<Request<PackageInfo>> OnFailAction;
internal AddRequestInfo(string packageName,
Action<Request<PackageInfo>> onSuccess, Action<Request<PackageInfo>> onFail)
{
PackageName = packageName;
OnSuccessAction = onSuccess;
OnFailAction = onFail;
}
}
} //namespace Unity.RenderStreaming.Editor