Version: 2020.3

PackageRegistrationEventArgs

class in UnityEditor.PackageManager

切换到手册

描述

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.

变量

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.