Version: 2019.4
public bool IsPickingDisabledOnAllDescendants (SceneManagement.Scene scene);

パラメーター

sceneScene to check.

戻り値

bool Returns true if all descendants have picking disabled.

説明

Checks whether all the descendants of a GameObject have picking disabled.


public bool IsPickingDisabledOnAllDescendants (GameObject gameObject);

パラメーター

gameObjectGameObject to check.

戻り値

bool Returns true if all root GameObjects of the Scene and all their descendants have picking disabled.

説明

Checks whether root GameObjects, and all their descendants, have picking disabled in a scene.