Version: 2022.3

CreateGameObjectHierarchyEventArgsConstructor

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

参数

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

描述

Constructs a new instance.