Esempio n. 1
0
 private void RememberDialog(string dialog, DialogueElement[] elements)
 {
     _personName     = _selectedPerson.CreateChatNameBox();
     _elements       = ((IEnumerable <DialogueElement>)elements).GetEnumerator();
     _locationMemory = CurrentGameState.RememberLocation(dialog);
     _clickUI.Remove(_dialogMemoriesBranch);
     _clickUI.Remove(_personMemoriesBranch);
     _clickUI.Remove(GameObjects.Hud.HudBranch);
     _clickUI.Add(_dialogueAdvancer);
     _personImage           = _selectedPerson.CreateFacingImage(Expression.Default);
     _reader                = new Reader(elements.Select(e => e.Line).ToArray(), EndMemory);
     _isInTheMiddleOfDialog = true;
 }