docs.unity3d.com
  • Manual
  • Scripting API
  • Changelog
  • License
    Show / Hide Table of Contents
    • Unity​Editor.​Localization
      • Addressable​Entry​Not​Found​Exception
      • Asset​Not​Persistent​Exception
      • Asset​Table​Collection
      • Asset​Table​Collection​Extension​Attribute
      • Collection​Extension
      • Localization​Editor​Events
      • Localization​Editor​Settings
      • Localization​Project​Settings
      • Localization​Table​Collection
      • Localization​Table​Collection.​Row<TEntry>
      • String​Table​Collection
      • String​Table​Collection​Extension​Attribute
    • Unity​Editor.​Localization.​Addressables
      • Addressable​Group​Rules
      • Group​Resolver
    • Unity​Editor.​Localization.​Platform.​Android
      • Player
    • Unity​Editor.​Localization.​Plugins.​CSV
      • Csv
      • Csv​Extension
    • Unity​Editor.​Localization.​Plugins.​CSV.​Columns
      • Column​Mapping
      • Csv​Columns
      • IKey​Column
      • Key​Id​Columns
      • Locale​Columns
    • Unity​Editor.​Localization.​Plugins.​Google
      • Authentication​Type
      • Google​Sheets
      • Google​Sheets​Extension
      • IGoogle​Sheets​Service
      • New​Sheet​Properties
      • Sheets​Service​Provider
    • Unity​Editor.​Localization.​Plugins.​Google.​Columns
      • Column​Mapping
      • IPull​Key​Column
      • Key​Column
      • Key​Comment​Column
      • Key​Metadata​Column<TMetadata>
      • Locale​Column
      • Locale​Comment​Column
      • Locale​Metadata​Column<TMetadata>
      • Push​Fields
      • Sheet​Column
    • Unity​Editor.​Localization.​Plugins.​XLIFF
      • Xliff
      • Xliff.​Import​Notes​Behavior
      • Xliff.​Import​Options
      • Xliff​Document
      • Xliff​Version
    • Unity​Editor.​Localization.​Plugins.​XLIFF.​Common
      • IFile
      • IGroup
      • IGroup​Collection
      • INote
      • INote​Collection
      • ITranslation​Unit
      • ITranslation​Unit​Collection
      • IXliff​Document
      • Note​Type
    • Unity​Editor.​Localization.​Reporting
      • ITask​Reporter
      • Progress​Bar​Reporter
      • Progress​Reporter
      • Task​Timer​Reporter
    • Unity​Editor.​Localization.​Search
      • Table​Entry​Search​Data
    • Unity​Editor.​Localization.​UI
      • Localization​Tables​Window
      • Project​Locale​Popup​Field
      • Xliff​Version​Popup
    • Unity​Engine.​Localization
      • Display​Name​Attribute
      • Editor​Property​Driver
      • IPreload​Required
      • Locale
      • Locale​Identifier
      • Localized​Asset<TObject>
      • Localized​Asset<TObject>.​Change​Handler
      • Localized​Asset​Base
      • Localized​Asset​Table
      • Localized​Audio​Clip
      • Localized​Font
      • Localized​Game​Object
      • Localized​Material
      • Localized​Mesh
      • Localized​Object
      • Localized​Reference
      • Localized​Sprite
      • Localized​String
      • Localized​String.​Change​Handler
      • Localized​String​Table
      • Localized​Table<TTable, TEntry>
      • Localized​Table<TTable, TEntry>.​Change​Handler
      • Localized​Texture
      • Localized​Tmp​Font
    • Unity​Engine.​Localization.​Components
      • Localize​Audio​Clip​Event
      • Localized​Asset​Behaviour<TObject, TReference>
      • Localized​Asset​Event<TObject, TReference, TEvent>
      • Localized​Game​Object​Event
      • Localized​Mono​Behaviour
      • Localize​Sprite​Event
      • Localize​String​Event
      • Localize​Texture​Event
    • Unity​Engine.​Localization.​Events
      • Unity​Event​Audio​Clip
      • Unity​Event​Game​Object
      • Unity​Event​Sprite
      • Unity​Event​String
      • Unity​Event​Texture
    • Unity​Engine.​Localization.​Metadata
      • Comment
      • Entry​Override​Type
      • Exclude​Entry​From​Export
      • Fallback​Locale
      • IEntry​Override
      • IMetadata
      • IMetadata​Collection
      • IShared​Metadata
      • Metadata​Attribute
      • Metadata​Collection
      • Metadata​Type
      • Platform​Override
      • Preload​Asset​Table​Metadata
      • Preload​Asset​Table​Metadata.​Preload​Behaviour
      • Shared​Table​Collection​Metadata
      • Shared​Table​Entry​Metadata
      • Smart​Format​Tag
    • Unity​Engine.​Localization.​Platform.​Android
      • Adaptive​Icon
      • Adaptive​Icons​Info
      • App​Info
      • Legacy​Icons​Info
      • Round​Icons​Info
    • Unity​Engine.​Localization.​Platform.​iOS
      • App​Info
    • Unity​Engine.​Localization.​Property​Variants
      • Custom​Tracked​Object​Attribute
      • Game​Object​Localizer
    • Unity​Engine.​Localization.​Property​Variants.​Tracked​Objects
      • Json​Serializer​Tracked​Object
      • Json​Serializer​Tracked​Object.​Apply​Changes​Method
      • Tracked​Mesh​Filter
      • Tracked​Mono​Behaviour​Object
      • Tracked​Object
      • Tracked​Rect​Transform
      • Tracked​Transform
    • Unity​Engine.​Localization.​Property​Variants.​Tracked​Properties
      • Array​Size​Tracked​Property
      • Bool​Tracked​Property
      • Byte​Tracked​Property
      • Char​Tracked​Property
      • Double​Tracked​Property
      • Enum​Tracked​Property
      • Float​Tracked​Property
      • Int​Tracked​Property
      • IString​Property
      • ITracked​Property
      • ITracked​Property​Value<T>
      • Localized​Asset​Property
      • Localized​String​Property
      • Long​Tracked​Property
      • SByte​Tracked​Property
      • Short​Tracked​Property
      • String​Tracked​Property
      • Tracked​Property<TPrimitive>
      • UInt​Tracked​Property
      • ULong​Tracked​Property
      • Unity​Object​Property
      • UShort​Tracked​Property
    • Unity​Engine.​Localization.​Pseudo
      • Accenter
      • Character​Substitutor
      • Character​Substitutor.​List​Selection​Method
      • Character​Substitutor.​Substitution​Method
      • Encapsulator
      • Expander
      • Expander.​Expansion​Rule
      • Expander.​Insert​Location
      • IPseudo​Localization​Method
      • Message
      • Message​Fragment
      • Mirror
      • Preserve​Tags
      • Pseudo​Locale
      • Read​Only​Message​Fragment
      • Typical​Character​Sets
      • Writable​Message​Fragment
    • Unity​Engine.​Localization.​Settings
      • Command​Line​Locale​Selector
      • Fallback​Behavior
      • IInitialize
      • ILocales​Provider
      • IReset
      • IStartup​Locale​Selector
      • ITable​Postprocessor
      • ITable​Provider
      • Locales​Provider
      • Localization​Settings
      • Localized​Asset​Database
      • Localized​Database<TTable, TEntry>
      • Localized​Database<TTable, TEntry>.​Table​Entry​Result
      • Localized​String​Database
      • Localized​String​Database.​Missing​Translation
      • Missing​Translation​Behavior
      • Player​Pref​Locale​Selector
      • Preload​Behavior
      • Specific​Locale​Selector
      • System​Locale​Selector
    • Unity​Engine.​Localization.​Smart​Format
      • Formatting​Error​Event​Args
      • Smart
      • Smart​Extensions
      • Smart​Formatter
    • Unity​Engine.​Localization.​Smart​Format.​Core.​Extensions
      • Formatter​Base
      • IFormatter
      • IFormatter​Literal​Extractor
      • IFormatting​Info
      • ISelector​Info
      • ISource
    • Unity​Engine.​Localization.​Smart​Format.​Core.​Settings
      • Case​Sensitivity​Type
      • Error​Action
      • Smart​Settings
    • Unity​Engine.​Localization.​Smart​Format.​Extensions
      • Choose​Formatter
      • Conditional​Formatter
      • Custom​Plural​Rule​Provider
      • Default​Formatter
      • Default​Source
      • Dictionary​Source
      • Global​Variables​Source
      • Is​Match​Formatter
      • List​Formatter
      • Persistent​Variables​Source
      • Persistent​Variables​Source.​Scoped​Update
      • Plural​Localization​Formatter
      • Reflection​Source
      • Sub​String​Formatter
      • Sub​String​Formatter.​Sub​String​Out​Of​Range​Behavior
      • Template​Formatter
      • Time​Formatter
      • Value​Tuple​Source
      • XElement​Formatter
      • Xml​Source
    • Unity​Engine.​Localization.​Smart​Format.​Global​Variables
      • Bool​Global​Variable
      • Float​Global​Variable
      • Global​Variable<T>
      • Global​Variables​Group
      • IGlobal​Variable
      • IGlobal​Variable​Value​Changed
      • Int​Global​Variable
      • IVariable​Group
      • Nested​Global​Variables​Group
      • String​Global​Variable
    • Unity​Engine.​Localization.​Smart​Format.​Persistent​Variables
      • Bool​Variable
      • Byte​Variable
      • Double​Variable
      • Float​Variable
      • IMetadata​Variable
      • Int​Variable
      • IVariable
      • IVariable​Group
      • IVariable​Value​Changed
      • Long​Variable
      • Nested​Variables​Group
      • Object​Variable
      • SByte​Variable
      • Short​Variable
      • String​Variable
      • UInt​Variable
      • ULong​Variable
      • UShort​Variable
      • Variable<T>
      • Variables​Group​Asset
    • Unity​Engine.​Localization.​Tables
      • Asset​Table
      • Asset​Table​Entry
      • Detailed​Localization​Table<TEntry>
      • Distributed​UIDGenerator
      • IKey​Generator
      • Localization​Table
      • Missing​Entry​Action
      • Sequential​IDGenerator
      • Shared​Table​Data
      • Shared​Table​Data.​Shared​Table​Entry
      • String​Table
      • String​Table​Entry
      • Table​Entry
      • Table​Entry​Reference
      • Table​Entry​Reference.​Type
      • Table​Reference
      • Table​Reference.​Type
    • Scripting API
    • Unity​Engine.​Localization.​Metadata
    • Shared​Table​Collection​Metadata

    Class SharedTableCollectionMetadata

    Shared Metadata is data that is associated to all tables that use the same SharedTableData, also known as an AssetTableCollection. Multiple table entries can be included in the SharedTableCollectionMetadata and The tables that use each table entry are recorded.

    Inheritance
    Object
    SharedTableCollectionMetadata
    Namespace: UnityEngine.Localization.Metadata
    Syntax
    [Serializable]
    public abstract class SharedTableCollectionMetadata : IMetadata, ISerializationCallbackReceiver

    Properties

    EntriesLookup

    Dictionary that contains all the entries Key Ids that are using this, the HashSet includes the country codes of the tables that are using the metadata.

    Declaration
    public Dictionary<long, HashSet<string>> EntriesLookup { get; set; }
    Property Value
    Type Description
    Dictionary<Int64, HashSet<String>>

    IsEmpty

    Are any table entries currently associated to this Metadata?

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    Boolean

    Methods

    AddEntry(Int64, String)

    Add the table entry for a specific table to the shared Metadata.

    Declaration
    public void AddEntry(long keyId, string code)
    Parameters
    Type Name Description
    Int64 keyId

    The Id of the table entry.

    String code

    The table culture code.

    Contains(Int64)

    Is the table entry associated to this Metadata?

    Declaration
    public bool Contains(long keyId)
    Parameters
    Type Name Description
    Int64 keyId
    Returns
    Type Description
    Boolean

    Contains(Int64, String)

    Is the table entry and culture code associated to this Metadata?

    Declaration
    public bool Contains(long keyId, string code)
    Parameters
    Type Name Description
    Int64 keyId
    String code
    Returns
    Type Description
    Boolean

    RemoveEntry(Int64, String)

    Remove the table entry for a specific table from the shared Metadata.

    Declaration
    public void RemoveEntry(long keyId, string code)
    Parameters
    Type Name Description
    Int64 keyId
    String code
    In This Article
    • Properties
      • EntriesLookup
      • IsEmpty
    • Methods
      • AddEntry(Int64, String)
      • Contains(Int64)
      • Contains(Int64, String)
      • RemoveEntry(Int64, String)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023