Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


scriptInstanceID

The instance ID of the script.
Read time 1 minuteLast updated 4 days ago

Definition

Warning
Removed. scriptInstanceID is deprecated. Use scriptEntityId instead.
public int scriptInstanceID { get; }

Remarks

Use GenericBinding to target a MonoBehaviour animatable property. In this case, scriptInstanceID should be non-zero.