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
Afficher le fichier Open project: JellyButtonGames/GoogleSheetsBackEndExample Class Usage Examples

Méthodes publiques

Méthode Description
LoadSheet ( ) : void

Starts loading the sheet from Google

Private Methods

Méthode 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 méthode

Starts loading the sheet from Google
public LoadSheet ( ) : void
Résultat void