void Command_ReturnControl() { Debug.Log("Control returned"); FindObjectOfType <GameSequence>().OnSegmentDone(); AudioManager.instance.PlaySong(null); NovelController.instance.gameObject.SetActive(false); CACHE.printCACHE(); }
void Command_SetCacheValue(string data) { //location, new value string[] parameters = data.Split(','); int index = int.Parse(parameters[0]); string val = parameters[1]; val = val.Replace('_', ' '); CACHE.tempVals[index] = val; CACHE.printCACHE(); }
// Accept the current input and close the screen. public void Accept() { Hide(); CACHE.tempVals[0] = inputField.text; CACHE.printCACHE(); }