Version: 2022.3
언어: 한국어
public void ToggleVisibility (GameObject gameObject, bool includeDescendants);

파라미터

gameObject GameObject on which to toggle visibility.
includeDescendants Whether to include descendants.

설명

Toggles the visible state of a GameObject.

When includeDescendants is true, a descendant is set to the same visible state as the parent GameObject. When includeDescendants is false, the visibility state of descendants are not affected.


Did you find this page useful? Please give it a rating: