文档

Unity Engine

Unity Engine

scriptInstanceID

The instance ID of the script.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. 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.