Class KeyColumn
Represents a column in a Google Sheets that can be used to map the row to a StringTableEntry.
Implements
Inherited Members
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. |