Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UpdatePrefabInstancesEventArgs

Constructs a new instance.
Read time 1 minuteLast updated 10 days ago

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.
Warning
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.