ClearCacheRequest
Represents an asynchronous request to clear the global package cache on the disk.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEditor.PackageManager.Requests
- Assembly: UnityEditor
- Inherits from: Request
- Implements: ISerializationCallbackReceiver
public sealed class ClearCacheRequest : Request, ISerializationCallbackReceiver
Remarks
The PackageManager Client class returns a ClearCacheRequest instance when you call the Client.ClearCache method to empty the global package cache. Use this object to determine when the request is complete and if it succeeded.