public StorableModifierUI(MainUI ui) : base(ui) { types_ = new StorableTypesList(Widget.Right); types_.OnTypeChanged += TypeChanged; storableWidgets_ = new StorableWidgets(Widget.Right); storableWidgets_.OnParameterChanged += UpdateParameter; storableWidgets_.Type = types_.Value; }
public StepExtenderModifierUI(MainUI ui) : base(ui) { types_ = new StorableTypesList(new List <string> { "float" }, Widget.Right); types_.OnTypeChanged += TypeChanged; storableWidgets_ = new StorableWidgets(Widget.Right); storableWidgets_.OnParameterChanged += UpdateParameter; storableWidgets_.Type = types_.Value; }