Version: 2019.4
public void Hide (GameObject gameObject, bool includeDescendants);
public void Hide (GameObject[] gameObjects, bool includeDescendants);

パラメーター

gameObjectGameObject to hide.
gameObjectsArray of GameObjects to hide.
includeDescendantsWhether to also hide descendants.

説明

Hides a GameObject, or an Array of GameObjects, and their descendants.


public void Hide (SceneManagement.Scene scene);

パラメーター

sceneScene containing GameObjects to hide.

説明

Hides all GameObjects in a scene.