EmbedRequest
Represents an asynchronous request to embed a package inside a project.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEditor.PackageManager.Requests
- Assembly: UnityEditor.CoreModule
- Inherits from: Request<PackageInfo>
- Implements: ISerializationCallbackReceiver
public sealed class EmbedRequest : Request<PackageInfo>, ISerializationCallbackReceiver
Remarks
The PackageManager Client class returns an EmbedRequest instance when you call the Client.Embed method to embed a package inside your project. Use this object to determine when the request is complete and to access the result.
Once the request is complete, you can retrieve the PackageInfo instance from the Result property.