SceneVisibilityManager.EnablePicking

Declaration

public void EnablePicking(GameObject gameObject, bool includeDescendants);

Declaration

public void EnablePicking(GameObject[] gameObjects, bool includeDescendants);

Parameters

includeDescendants Whether to include descendants.
gameObject GameObject on which to enable picking.
gameObjects Array of GameObjects on which to enable picking.

Description

Enables picking on a GameObject, or an array of GameObjects, and its descendants.


Declaration

public void EnablePicking(SceneManagement.Scene scene);

Parameters

scene Scene containing GameObjects on which to enable picking.

Description

Enables picking on all GameObjects in a Scene.


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