文档

Unity Engine

Unity Engine

reloadSubsytemsStarted

Called from SubsystemManager before reloading all XR SDK Provider packaged subsystems.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Event
  • Namespace: UnityEngine
  • Assembly: UnityEngine.SubsystemsModule
警告
Deprecated. Use beforeReloadSubsystems instead.
public static event Action reloadSubsytemsStarted

Remarks

When the Editor starts or when packages are installed or removed, the SubsystemManager searches the packages and loads all XR SDK packages that it finds. Handling this event allows the user to do work they may need prior to the subsystem manager cleaning up any current subsystem descriptors.
Additional Resources: SubsystemManager, SubsystemDescriptor.
Note: This is deprecated, use SubsystemManager.beforeReloadSubsystems instead.