docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class KeyColumn

    Represents a column in a Google Sheets that can be used to map the row to a StringTableEntry.

    Inheritance
    object
    SheetColumn
    KeyColumn
    Implements
    IPullKeyColumn
    Inherited Members
    SheetColumn.Column
    SheetColumn.ColumnIndex
    SheetColumn.PushEnd()
    SheetColumn.PullEnd()
    SheetColumn.IndexToColumnName(int)
    SheetColumn.ColumnNameToIndex(string)
    Namespace: UnityEditor.Localization.Plugins.Google.Columns
    Assembly: Unity.Localization.Editor.dll
    Syntax
    [Serializable]
    public class KeyColumn : SheetColumn, IPullKeyColumn

    Fields

    Name Description
    ColumnHeader

    The default name to use for the column is "Key".

    Properties

    Name Description
    PushFields

    Controls which cell fields to synchronize.

    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.

    PullKey(string, string)

    Provides the entry that the current row represents.

    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.

    PushHeader(StringTableCollection, out string, out string)

    Sets the column title and optional note. These values are always set regardless of the value of PushFields.

    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)