文档

Unity Engine

Unity Engine

ClearDefaultParentObject

Clears the default parent GameObject from either a specific Scene or the active Scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

ClearDefaultParentObject(Scene)

Clears the default parent GameObject from either a specific Scene or the active Scene.
public static void ClearDefaultParentObject(Scene scene)

Parameters

scene

Specify a Scene to clear the default parent object for a specific Scene. If a Scene is not specified, this method clears the default parent object for the active Scene.

Remarks

ClearDefaultParentObject()

Clears the default parent GameObject from either a specific Scene or the active Scene.
public static void ClearDefaultParentObject()

Remarks