pickGameObjectCustomPasses
Subscribe to this event to add additional picking objects to the HandleUtility.PickGameObject method.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Event
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static event HandleUtility.PickGameObjectCallback pickGameObjectCustomPasses
Remarks
HandleUtility.PickGameObject invokes this delegate when clicking in the SceneView.
An example use case for this event would be if you are rendering meshes with Graphics.RenderMesh, and would like to be able to select the GameObject that represents these meshes.