id
An integer representing the underlying string uniquely.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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.