public Figure_button create_for_stencil_node(string type) { Figure_button figure_button = this.provide_new <Figure_button>(); figure_button.lable.text = type; return(figure_button); }
private void remove_button_for_figure(Figure figure) { Figure_button button = figure_buttons.First(button => button.figure == figure); figure_button_table.remove_item(button); figure_buttons.Remove(button); }
public Figure_button create_for_figure(Figure figure) { Figure_button figure_button = this.provide_new <Figure_button>(); figure_button.lable.text = figure.id; figure_button.figure = figure; return(figure_button); }
private void create_button_for_figure(Figure figure) { Figure_button figure_button = figure_button_prefab.create_for_figure(figure); figure.button = figure_button; figure_button.showcase = this; figure_button_table.add_item(figure_button); figure_buttons.Add(figure_button); }
public void on_click(Figure_button figure_button) { deselect_all(); create_subfigure(figure_button.figure); }