pickGameObjectCustomPasses
Subscribe to this event to add additional picking objects to the HandleUtility.PickGameObject method.
阅读时间1 分钟最后更新于 1 个月前
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.