Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


instanceID

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.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Removed. Please use entityId instead.
public int instanceID { get; set; }

Remarks