public override void Setup(SerializedProperty property, FieldInfo fieldInfo) { Caller = GetObject <InstructionCaller>(property); InstructionProperty = property.FindPropertyRelative("Instruction"); InputsProperty = property.FindPropertyRelative("Inputs"); OutputsProperty = property.FindPropertyRelative("Outputs"); InputsList = new EditableList <InstructionVariable>(); OutputsList = new EditableList <InstructionVariable>(); var inputsList = InputsList.Setup(InputsProperty, null, null, false, true, false, true, true); OutputsList.Setup(OutputsProperty, null, null, false, true, false, true, true); inputsList.drawHeaderCallback += DrawRefreshButton; }