ClearDefaultParentObject
Clears the default parent GameObject from either a specific Scene or the active Scene.
Read time 1 minuteLast updated 8 days ago
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
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
Additional Resources: EditorUtility.SetDefaultParentObject.
ClearDefaultParentObject()
Clears the default parent GameObject from either a specific Scene or the active Scene.
public static void ClearDefaultParentObject()
Remarks
Additional Resources: EditorUtility.SetDefaultParentObject.