Version: 2019.4
public void TogglePicking (GameObject gameObject, bool includeDescendants);

パラメーター

gameObjectGameObject on which to toggle picking ability.
includeDescendantsWhether to include descendants.

説明

Toggles the picking ability of a GameObject.

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


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