Ananke Csv Master Advanced Guide 3.Adding New Data to Existing DataSets

Back to Table of Contents

Adding Data to DataSets

As your development progresses, you’ll almost certainly encounter situations where you need to add new data fields.

This section explains how to add new data to existing DataSets.

Let’s walk through an example of adding a “Spd” parameter to the Player DataSet we created in the basic guide.

The process is straightforward – simply add new data to Variables just as you did during initial setup.

After adding the data, click “Save Header” to store your changes.

Next, click Create ScriptableObject and Importer to regenerate the classes and importer.

Finally, click Update CsvData to reflect the new column in your existing data.

As shown above, Spd will be added at the end of your data structure.

If you’re using Excel, clicking the Import button will update your CSV to include the newly added column.

The new field will be initialized with the default value for its type – make sure to set appropriate values as needed.

This completes the column addition process.
In summary: add to Variables, save, Create, and Update CsvData – that’s all you need to do.

Next

コメント

タイトルとURLをコピーしました