public override void GetProperties() { GameObject propertiesContainer = GameObject.Find("PropertiesWindowContainer"); EditObjectProperties script = propertiesContainer.GetComponent <EditObjectProperties>(); script.AddString("ComponentNameLabel", _name, SetName); script.AddResult("CurrentPropertyLabel", ResistorComponent.getCurrent().ToString(CultureInfo.InvariantCulture), "A"); }