Mapping

The first step you need to create an entity that matches one row of the table. Use the GoogleSheetParam attribute for fileds. As an argument, you must specify the name of the column header. The class must define the ”System.Serializable” attribute.

code_1.png

Next, you need to create a ScriptableObject class with list of entity. For this class you need to define the ”GoogleSheet” attribute.

code_2.png

GoogleSheet attribute arguments:

  1. Table Name;
  2. Sheet Name;

You must also inherit the ICollectionSet interface. It’s necessary for the system to update data.