using UnityEngine; using System; using System.Collections; using System.Collections.Generic; namespace Fungus { [CommandInfo("Dialog", "Choose", "Presents a list of options for the player to choose from using a Choose Dialog. " + "Place Add Option commands before the Choose command to specify the player options. " + "You can also set a timeout which will cause the following command to execute when the timer runs out.")] public class Choose : Command { public class Option { public string optionText; public Sequence targetSequence; public Action action; } static public List