Version: 2020.3

Events.registeringPackages

切换到手册

参数

value A PackageRegistrationEventArgs structure describing the modifications to the registered packages list.

描述

Event raised before applying changes to the registered packages list.

Occurs before the asset database begins refreshing. Packages about to be modified or removed are still present and functional, because the package registration process has not yet begun.
Note: There is no guarantee that the AssetPostprocessor pipeline will finish by the time this event is raised, so don't rely on the execution order for pre-processing events.