SceneVisibilityManager.IsPickingDisabledOnAllDescendants

Declaration

public bool IsPickingDisabledOnAllDescendants(SceneManagement.Scene scene);

Parameters

scene Scene to check.

Returns

bool Returns true if all descendants have picking disabled.

Description

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


Declaration

public bool IsPickingDisabledOnAllDescendants(GameObject gameObject);

Parameters

gameObject GameObject to check.

Returns

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

Description

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


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