Assign values of spreadsheet to variables in .cs

More
1 month 4 days ago #3671 by dawidsieczka
In Google Spreadsheet i have fill data. In my game I use every line as new object and every column as some specific information as damage, as health value, as text to speak etc...
My problem is to download this data and split them to separately variables.
I did that before with remote .csv. I downloaded .csv split line by line as my one object and in this one object I split by semicolon to variables and its ofc. everything in loop.
The same thing I want to do with google spreadsheet. Even if I should assign some columns to variables that's not a problem cuz there is not a lot of data.
Please help...
In attachments i add example how i did with .csv - can't show you too much :/
Attachments:

Please Log in or Create an account to join the conversation.

More
1 month 3 days ago #3673 by dawidsieczka
[SOLVED]
print(LocalizationManager.Sources[0].mTerms[4].Languages[3]);
LocalizationManager.Sources[0] - means source files
.mTerms[iteration] - means which line u want take
.Languages[iteration] - means what exacly column u want to choose
:D
That let us to assign data from Spreadsheet to variable and display at game for object that instantiate and every instantiaded object is different.

Please Log in or Create an account to join the conversation.

Time to create page: 0.228 seconds
Template by JoomlaShine