private void Update() { if (dialogueGraph != null) { dialogueGraph.Execute(); if (dialogueGraph.state == RunningState.Stop) { dialogueGraph = null; } } }