docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GoogleSheetsResource

    Syncs a module ResourceTableCollection with a Google Sheet.

    Inheritance
    object
    GoogleSheetsResource
    Namespace: UnityEditor.Localization.Plugins.Google
    Assembly: Unity.Localization.Editor.dll
    Syntax
    public class GoogleSheetsResource
    Remarks

    The sheet layout is fixed: a Key column, an Id column, an IsSmart column, then one column per locale, matching the module's CSV format. Pushing writes the whole grid; pulling applies values by key and id, creating missing keys and skipping locales the collection has no table for.

    Constructors

    Name Description
    GoogleSheetsResource(IGoogleSheetsService)

    Creates a new instance using an authorized sheets service.

    Properties

    Name Description
    SpreadSheetId

    The id of the spreadsheet to sync with.

    Methods

    Name Description
    PullIntoResourceCollection(int, ResourceTableCollection, bool)

    Reads a sheet back into the collection.

    PushResourceCollection(int, ResourceTableCollection)

    Writes the collection into a sheet, replacing its contents.

    In This Article
    Back to top
    Copyright © 2026 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)