using UnityEngine; namespace UnityEditor.Localization { /// /// Adds a reference to a table in the Editor. /// public enum TableReferenceMethod { /// /// References the table by its Guid. This is the default and most robust method. /// [Tooltip("References the table by its Guid. This is the default and most robust method.")] Guid, /// /// References the table by its name. Only use this method if the table name won't change. /// [Tooltip("References the table by its name. Only use this method if the table name won't change.")] Name, } /// /// Adds a reference to a table entry in the Editor. /// public enum EntryReferenceMethod { /// /// References the entry by its ID. This is the default and most robust method. /// [Tooltip("References the entry by its ID. This is the default and most robust method.")] Id, /// /// References the entry by its name. Only use this method if the entry name won't change. /// [Tooltip("References the entry by its name. Only use this method if the entry name won't change.")] Key, } }