Version: 2021.1

DestroyGameObjectHierarchyEventArgsConstructor

切换到手册
public DestroyGameObjectHierarchyEventArgs (int instanceId, SceneManagement.Scene scene);

参数

instanceId The instance ID of the GameObject that has been destroyed.
scene The Scene containing the GameObject that has been destroyed.

描述

Constructs a new instance.