Version: 2021.1
LanguageEnglish
  • C#

PackageRegistrationEventArgs

class in UnityEditor.PackageManager

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Structure describing the PackageInfo entries to register or unregister during the Package Manager registration process.

Note: The changedFrom and changedTo collections are guaranteed to match in length and ordering.

Properties

addedA collection of PackageInfo entries to add during the Package Manager registration process.
changedFromA collection of PackageInfo entries describing packages to be overridden by another version during the Package Manager registration process.
changedToA collection of PackageInfo entries describing packages that will override a previously registered version during the Package Manager registration process.
removedA collection of PackageInfo entries to remove during the Package Manager registration process.