Ejemplo n.º 1
0
        public void CreateText(int index, string content, bool isName)
        {
            if (isName)
            {
                TextOptions[index] = new TextOption(content, "Custom text option " + index + " for use in scripts.", "");
            }
            else
            {
                TextOptions[index] = new TextOption("Text " + index + ": ", content, "");
            }

            TextboxCreated?.Invoke(TextOptions[index]);
        }
Ejemplo n.º 2
0
 public void CreateText(int index, string content)
 {
     TextOptions[index] = new TextOption("Text " + index + ": ", "Custom text option " + index + " for use in scripts.", content);
     TextboxCreated?.Invoke(TextOptions[index]);
 }