【m】插件上传
This commit is contained in:
25
Packages/com.unity.renderstreaming@3.1.0-exp.9/Editor/RequestInfo/SearchRequestInfo.cs
vendored
Normal file
25
Packages/com.unity.renderstreaming@3.1.0-exp.9/Editor/RequestInfo/SearchRequestInfo.cs
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
using System; //Action
|
||||
using UnityEditor.PackageManager; //PackageInfo
|
||||
using UnityEditor.PackageManager.Requests; //Request<T>
|
||||
|
||||
namespace Unity.RenderStreaming.Editor
|
||||
{
|
||||
|
||||
class SearchRequestInfo
|
||||
{
|
||||
internal string PackageName;
|
||||
internal bool OfflineMode;
|
||||
internal Action<Request<PackageInfo[]>> OnSuccessAction;
|
||||
internal Action<Request<PackageInfo[]>> OnFailAction;
|
||||
|
||||
internal SearchRequestInfo(string packageName, bool offlineMode,
|
||||
Action<Request<PackageInfo[]>> onSuccess, Action<Request<PackageInfo[]>> onFail)
|
||||
{
|
||||
PackageName = packageName;
|
||||
OfflineMode = offlineMode;
|
||||
OnSuccessAction = onSuccess;
|
||||
OnFailAction = onFail;
|
||||
}
|
||||
}
|
||||
|
||||
} //namespace Unity.RenderStreaming.Editor
|
||||
Reference in New Issue
Block a user