void Awake() { letterBoxIndex = 0; attemptsCount = 0; gettingInput = false; builtInputString = ""; thisAction = youMessedUp; targetStrings.Add("test"); }
public void enableInputField(actionIfTrue a, string[] targets) { if (primaryTarget == string.Empty) { int index = rand.Next(0, targets.Length); primaryTarget = targets[index]; } enableInputField(); targetStrings.Clear(); thisAction = a; foreach (string tar in targets) { targetStrings.Add(tar); } }
public void enableInputField(actionIfTrue a, string target) { enableInputField(a, new string[] { target }); }