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