Version: 2020.3

HandleUtility.pickGameObjectCustomPasses

切换到手册

描述

Subscribe to this event to add additional picking objects to the HandleUtility.PickGameObject method.

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.DrawMesh, and would like to be able to select the GameObject that represents these meshes.