文档

Unity Engine

Download Unity

Unity Engine

id

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

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 code reload. Use the value field for serialization instead.