Example #1
0
    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;
    }
Example #2
0
 public SubEditor(BlueprintModelEditor editor)
 {
     this.editor = editor;
     widget      = new TechTreeSimpleEditorWidgets();
     styles      = new TechTreeEditorStyles();
 }