Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Show

Shows a GameObject, or an array of GameObjects, and its descendants.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

Show(GameObject, bool)

Shows a GameObject, or an array of GameObjects, and its descendants.
public void Show(GameObject gameObject, bool includeDescendants)

Parameters

gameObject

GameObject to show.

includeDescendants

Whether to include descendants.

Show(Scene)

Shows all GameObjects in scene.
public void Show(Scene scene)

Parameters

scene

Scene containing GameObjects to show.

Show(GameObject[], bool)

Shows a GameObject, or an array of GameObjects, and its descendants.
public void Show(GameObject[] gameObjects, bool includeDescendants)

Parameters

gameObjects

Array of GameObjects to show.

includeDescendants

Whether to include descendants.