-
Notifications
You must be signed in to change notification settings - Fork 21
CSV Configs Importer
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
- 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
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.
If you already have configs in your project, you can follow these steps to export them to google sheets:
- Select your config
- In inspector window use right click on the header section and select
Copy CSV
- Go to Google Sheets, paste it, do not clear the selection
- Use
Data/Split text to columns
- 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.