docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class KeyMetadataColumn<TMetadata>

    Implementation of SheetColumn that can be used to sync IMetadata that is part of SharedTableData. For a version that supports Table Metadata see LocaleMetadataColumn<TMetadata>.

    Inheritance
    object
    SheetColumn
    KeyMetadataColumn<TMetadata>
    KeyCommentColumn
    Inherited Members
    SheetColumn.Column
    SheetColumn.PushFields
    SheetColumn.ColumnIndex
    SheetColumn.PushHeader(StringTableCollection, out string, out string)
    SheetColumn.PushEnd()
    SheetColumn.PullEnd()
    SheetColumn.IndexToColumnName(int)
    SheetColumn.ColumnNameToIndex(string)
    Namespace: UnityEditor.Localization.Plugins.Google.Columns
    Assembly: Unity.Localization.Editor.dll
    Syntax
    [Serializable]
    public abstract class KeyMetadataColumn<TMetadata> : SheetColumn where TMetadata : IMetadata
    Type Parameters
    Name Description
    TMetadata

    Methods

    Name Description
    PullBegin(StringTableCollection)

    Called when starting a pull to allow a column to initialize itself.

    PullCellData(SharedTableEntry, string, string)

    Called to update the StringTableCollection using the provided cell data.

    PullMetadata(SharedTableEntry, TMetadata, string, string)

    Called during PullIntoStringTableCollection(int, StringTableCollection, IList<SheetColumn>, bool, ITaskReporter, bool) to extract data from a Google Spreadsheet column cell and convert it into IMetadata.

    PushBegin(StringTableCollection)

    Called when starting a push to allow a column to initialize itself.

    PushCellData(SharedTableEntry, IList<StringTableEntry>, out string, out string)

    Extracts the data that should populate the columns cell for the row associated with the Key.

    PushMetadata(TMetadata, out string, out string)

    Called during PushStringTableCollection(int, StringTableCollection, IList<SheetColumn>, ITaskReporter) or PushStringTableCollectionAsync(int, StringTableCollection, IList<SheetColumn>, ITaskReporter). Used to extract values from IMetadata and convert them into a value and/or note that can be part of a Google Spreadsheet column cell.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)