Ejemplo n.º 1
0
 void OnDisable()
 {
     if (manager == null || instancedMesh == IntPtr.Zero)
     {
         return;
     }
     manager.DisableInstancedMesh(instancedMesh);
 }