ClearCacheRequest
Represents an asynchronous request to clear the global package cache on the disk.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Class
- Namespace: UnityEditor.PackageManager.Requests
- Assembly: UnityEditor.CoreModule
- 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.