public void Initialise(XAttribute attribute, OverloadXmlEditDialogScript parent) { dialogScript = parent; gameObject.SetActive(true); xAttribute = attribute; nameInput.text = attribute.Name.LocalName; valueInput.text = attribute.Value; }
public void EditXmlButtonClicked() { OverloadXmlEditDialogScript.Create(Game.Instance.Designer.DesignerUi.Transform, GetXML(), SaveXML); }