public void getElementInfo(string element) { ElementInfo elements = ElementInfo.CreateFromJSON("Text/element_info"); this.textComponent.text = elements.getElementInfo(element); }