Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


KeyGenerator

The generator that assigns stable ids to new keys.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Property
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule
public IKeyGenerator KeyGenerator { get; set; }

Remarks

Defaults to a DistributedUIDGenerator. Setting it to
null
restores that default rather than leaving the property unset. SharedTableData.AddKey calls IKeyGenerator.GetNextKey to obtain each new id.