Sign a package using the scripting API
Pack and sign a package using the Client.Pack method in a C# script.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Pack and sign your Unity Package Manager (UPM) package so it’s ready for distribution and compatible with Unity’s package signature ecosystem.
If you use the scripting API to process packages, you can use the method to create a signed package. For other methods, refer to Methods for signing packages.
Client.PackOne of method's parameters is the ID of the organization that owns the package.
Client.PackFollow these steps to get the organization ID and call the method:
Client.Pack-
Go to the Unity Cloud Dashboard and select the organization you want to use for signing. For information about selecting or switching organizations, refer to Switch organization.
-
Copy the Organization ID value. Refer to Identify the organization ID.
- Make sure you’re signed in to the Unity Editor as a member of the organization from the previous step.
- Call the Client.Pack method and include the organization ID that you copied in a previous step.