C# Class GoogleSheetsLoader, GoogleSheetsBackEndExample

The class allows you to load a Google Sheet from Drive in CSV format. It parses it and fires an event when it's done. Note: This implementation will only work for sheets in the format: _____________________________ | name | value | |___________|_______________| | .... | ..... | To support a different format change the ParseSheetData method
Inheritance: MonoBehaviour
Datei anzeigen Open project: JellyButtonGames/GoogleSheetsBackEndExample Class Usage Examples

Public Methods

Method Description
LoadSheet ( ) : void

Starts loading the sheet from Google

Private Methods

Method Description
ApplyDataFromRow ( string paramName, object paramValue ) : void

Stores the loaded parameter configuration locally

LoadGoogleSheet ( string docId, string sheetId ) : IEnumerator

a Coroutine which downloads the Google Sheet in CSV format and parses it on success

ParseSheetData ( string csvData ) : void

Parses the downloaded CSV formatted Google Sheet

Method Details

LoadSheet() public method

Starts loading the sheet from Google
public LoadSheet ( ) : void
return void