This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Use this as header for each of the missions of your game. | |
*/ | |
VAR cmd="" | |
VAR doRun = false | |
LIST missionType = Sequential, Parallel | |
VAR tick = 0 | |
VAR backgroundType = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YOUR METHOD HERE - BEGIN | |
if (SOME_CONTROL_OF_YOURS && Application.isEditor) | |
{ | |
Action<string> commCallback = (csv) => | |
{ | |
LoadCSVText(csv); | |
}; | |
StartCoroutine(DownloadCSVCoroutine(spreadSheetId, commCallback, true, "YOUR_ASSET_NAME_NO_EXT", tabId)); |