public override void Setup_BeforeAdd(Utils.XML xml)
{
base.Setup_BeforeAdd(xml);
string str = xml.GetAttribute("prompt");
if (str != null)
{
inputTextField.promptText = str;
}
inputTextField.displayAsPassword = xml.GetAttributeBool("password", false);
inputTextField.restrict = xml.GetAttribute("restrict");
inputTextField.maxLength = xml.GetAttributeInt("maxLength", 0);
inputTextField.keyboardType = xml.GetAttributeInt("keyboardType");
}