文档

Unity Engine

Unity Engine

id

An integer representing the underlying string uniquely.
阅读时间1 分钟最后更新于 1 个月前

Definition

public int id { get; }

Remarks

Strings with different storage addresses but identical content will always be translated to the same id.
The id associated with a string may vary between consecutive runs and may be regenerated on domain reload. Use the value field for serialization instead.