Example #1
0
        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;
        }
Example #2
0
        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;
        }