Finished the guidance Using Enum types
In this guide, we are going to group students in "Student" sheet in "StudentsData.xlsx", and define a type for group member.
Properties of group member : member information, job in group。
We are going to get all group members in group with group id using the feature "key to multi values".
-
Create a new sheet named {GroupMember}, GroupMember{}, [GroupMember] or GroupMember[] in StudentsData.xlsx.
Note : the braces "{}" or square brackets "[]" are used to mark that data items in the sheet will be "key to multi values". In some xlsx applications square brackets are invalid in sheet names, so in this tool, braces works the same as square brackets when dealing with sheet names. In this guide, our sheet name for group members will be "{GroupMember}".
-
Fill the sheet "{GroupMember}" with proper data types and contents.
-
Go back to Unity and execute "Process Excel" again.
-
Append the following code into Start method of "TestExcelToSO.cs".
-
Run the code and check Console window for result.