Skip to content

CSV Configs Importer

Alex Silaev edited this page Apr 27, 2025 · 2 revisions

CSV Configs Importer - it's the tool which allows import configs from google sheets. List sample is here: https://docs.google.com/spreadsheets/d/1fgNidabvNKO4qUcn0grEKGXapEtv0dPP5jF1aHLIPDY/edit

Usage

  • Create csv importer asset: Create/ME.BECS/Entity Config CSV Importer
  • Create new or use target directory for your import
  • Add csv urls from Google Sheets (Use File->Share->Publish to Web in menu, select list to publish and choose csv)
  • Copy link and add it to your asset in Unity
  • Press LOAD button

Notes

Important

If you want to use cross-links to configs in your generating scope, you need to add all lists in one csv importer asset.

Important

You can use different csv importer assets if you want to import different scope types (ex Units, Buildings, etc). This might be useful if you have too many lists in Google Sheets document and want to split import process into different actions.

Export

If you already have configs in your project, you can follow these steps to export them to google sheets:

  1. Select your config
  2. In inspector window use right click on the header section and select Copy CSV
  3. Go to Google Sheets, paste it, do not clear the selection
  4. Use Data/Split text to columns
  5. Move data to the right place

Note

If you want to move only one component, click on the component header in config and selection Copy CSV. Follow the steps above starts from #3 to complete data export.

Clone this wiki locally