void Start()
 {
     _parentEntity = gameObject.FindInParents<EntityElement>();
     _inputField = GetComponent<InputField>();
     InputField.SubmitEvent submitEvent = new InputField.SubmitEvent();
     submitEvent.AddListener(EditDone);
     _inputField.onEndEdit = submitEvent;
 }
 public void SetData(EntityElement entityElement, string attrName)
 {
     _label = GetComponent<Text>();
     ParentEntityName = entityElement.Name;
     AttributeName = attrName;
     _label.text = attrName;
     parent = entityElement;
 }