Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


scriptInstanceID

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

Definition

public int scriptInstanceID { get; }

Remarks

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