文档

Unity Engine

Unity Engine

UpdatePrefabInstancesEventArgs

Constructs a new instance.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

UpdatePrefabInstancesEventArgs(Scene, ReadOnly)

Constructs a new instance.
public UpdatePrefabInstancesEventArgs(Scene scene, NativeArray<EntityId>.ReadOnly entityIds)

Parameters

scene

The scene containing all of the prefab instances that have been updated.

entityIds

UpdatePrefabInstancesEventArgs(Scene, ReadOnly)

Constructs a new instance.
警告
Removed. UpdatePrefabInstancesEventArgs(Scene scene, NativeArray\<int\>.ReadOnly instanceIds) is deprecated. Use UpdatePrefabInstancesEventArgs(Scene scene, NativeArray\<EntityId\>.ReadOnly entityIds) instead.
public UpdatePrefabInstancesEventArgs(Scene scene, NativeArray<int>.ReadOnly instanceIds)

Parameters

scene

The scene containing all of the prefab instances that have been updated.

instanceIds

The instance ID for each root GameObject of the prefab instances that have been updated.