예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     if (useGoogleSheet)
     {
         // This will start the asyncronous calls to Google Sheets, and eventually
         // it will give a value to scc, and also call LoadInitialHistory().
         GoogleSheetSimpleConditionalConversation gs_ssc = gameObject.AddComponent <GoogleSheetSimpleConditionalConversation>();
         gs_ssc.googleSheetDocID = googleSheetDocID;
     }
     else
     {
         scc = new SimpleConditionalConversation("data");
         LoadInitialSCCState();
     }
 }