internal void setData(ChooseDialog cd, Data d) { dialog = cd; data = d; labelText.text = d.getLabel(); button.onClick.RemoveAllListeners(); button.onClick.AddListener(onClick); }
internal void init(ChooseDialog d) { dialog = d; }