void OnEnable() { widget = new TechTreeSimpleEditorWidgets(); inspector = new TechTreeInspector(this); groupPanel = new TechTreeGroupEditor(this); resources = new TechTreeResourcesEditor(this); graphEditor = new TechTreeGraphEditor(this); costEditor = new TechTreeCostEditor(this); statEditor = new TechTreeStatEditor(this); this.wantsMouseMove = true; }
public SubEditor(BlueprintModelEditor editor) { this.editor = editor; widget = new TechTreeSimpleEditorWidgets(); styles = new TechTreeEditorStyles(); }