1. I'm using DataMaker from EcoSystem. (esp. CSV feature.)
2. "Get Csv Fields By Record" action has a problem.
If I play the game, "Get Csv Fields By Record" action makes correct array of the record.
(I'll call this "first success")
And I want to change the Record and get a new Array during runtime.
But after the first success, I couldn't get a new array again.
Change record number + get csv fields by record action = do nothing.
I tested 'CsvData.HasReference()'. And it says TRUE.
And...I modified "GetCsvFieldsByRow.cs"
I found, the last line "fields.SaveChanges()"
Just for experiment, I disabled the line. -> "//fields.SaveChanges()"
then...
The string array looks changed correctly.
But If I do something with the new array, Ex. ArrayGet action,
The array's real value is not changed.
Something's wrong...
please help~
-----added later------how I solved -------
I changed "GetCsvFieldsByRow.cs" final 2 lines...
from
fields.stringValues = _data.GetRecordAt(_record);
fields.SaveChanges();
To this
fields.stringValues = _data.GetRecordAt(_record);
fields.Values = _data.GetRecordAt(_record);
Anyway now it works.
fields.stringValues => array for only showing
fields.Values => array for real value. Am I right?
I think "FsmArray.SaveChanges()" caused this problem.