예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }
예제 #4
0
        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);
        }
예제 #5
0
 public void on_click(Figure_button figure_button)
 {
     deselect_all();
     create_subfigure(figure_button.figure);
 }