using UnityEngine; using System; namespace UnityEditor.Localization { /// /// Allows for attaching additional data or functionality to a or . /// [Serializable] public class CollectionExtension { [SerializeField, HideInInspector] LocalizationTableCollection m_Collection; /// /// The collection this extension is attached to. /// public LocalizationTableCollection TargetCollection { get => m_Collection; internal set => m_Collection = value; } /// /// Called when the Extension is first added to the table collection. /// public virtual void Initialize() {} /// /// Called when the Extension is removed from the table collection. /// public virtual void Destroy() {} } }