RenderParams.instanceID

public int instanceID;

Description

The instance ID of the GameObject that issues the draw. Provide an instanceID to make a rendered GameObject pickable in the scene view when you click on it. The default value is 0, which means that you can't pick or outline the procedural GameObject in the scene view.


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