Exemple #1
0
        public void _init()
        {
            _des = new ETextArea(_size.x - 100, 100);
            _des.SetInfo(
                "1.特效纹理引用\n"
                + "2.特效Dc个数\n");

            _check_tex_ref_btn          = new EButton("特效纹理引用", 120);
            _check_tex_ref_btn.OnClick += ClickCheckTexRef;

            _check_dc_btn          = new EButton("特效Dc个数", 120);
            _check_dc_btn.OnClick += CheckCheckDcBtn;
            _init_position();
        }
Exemple #2
0
        public void _init()
        {
            _des = new ETextArea(_size.x - 100, 100);
            _des.SetInfo(
                "1.分离动画\n"
                + "2.动画内存优化\n");

            _swparation_animation_btn          = new EButton("分离动画(针对Fbx)", 120);
            _swparation_animation_btn.OnClick += ClickSwparationAnimation;

            _seo_animation          = new EButton("动画内存优化(针对AnimationClip)", 240);
            _seo_animation.OnClick += CheckSeoAnimation;
            _init_position();
        }
Exemple #3
0
        public void _init()
        {
            _des = new ETextArea(_size.x - 100, 100);
            _des.SetInfo(
                "1.csv生成Obj文件: 通过Csv生成对应的脚本,如果你修改了Table\\*.csv 中头四行的内容信息。那么你就需要重新生成cs代码\n"
                + "2.配置表有效性检测: 检测Csv表格中的数据的有效性\n");

            _csv_to_cs_btn          = new EButton("Csv生成Cs代码", 120);
            _csv_to_cs_btn.OnClick += ClickCsvToCs;

            _csv_to_byte_btn          = new EButton("生成二进制数据", 120);
            _csv_to_byte_btn.OnClick += ClickToByte;

            _check_byte_btn          = new EButton("生成二进制数据", 120);
            _check_byte_btn.OnClick += ClickCheckByte;

            _check_csv_vaild          = new EButton("配置表有效性检测", 120);
            _check_csv_vaild.OnClick += ClickCheckCsvVaild;

            _init_position();
        }
Exemple #4
0
        public void _init()
        {
            _buff_id_input = new ELabelIntInput("模板Id", 70, 1001, 200);

            _des_title_lab = new ELabel("模板描述", 70);
            _des_text_area = new ETextArea(200, 18 * 4);

            _add_effect_btn          = new EButton("添加效果", 70);
            _add_effect_btn.OnClick += AddEffect;

            _effect_popup = new EEnumPopup(200);
            _effect_popup.SetData(E_EffectType.attribute);

            duration_input      = new ELabelIntInput("持续时间(ms)", 100, 1000, 100);
            interval_time_input = new ELabelIntInput("间隔时间(ms)", 100, 1000, 100);
            max_layer_input     = new ELabelIntInput("最大层级", 100, 1, 100);
            _scroll_view        = new EScrollView(Ew - 20, Eh - 100);

            _save_btn          = new EButton("保存", 50);
            _save_btn.OnClick += OnSaveInfo;
            //_scroll_view.SetBg(true);
        }
Exemple #5
0
        public void _init()
        {
            _title_lab     = new ELabel("效果描述:", 70);
            _des_text_area = new ETextArea(270, 18 * 3);

            _trigger_item       = new ETriggerItem(Ew - 20, 55);
            _target_select_item = new ETargetSelectorItem(Ew - 20, 200);

            _overlay_lab   = new ELabel("叠加效果:", 70);
            _overlay_popup = new EEnumPopup(200);
            _overlay_popup.SetData(E_EffectOverlayType.can_overlay_can_refresh);

            _remove_btn = new EButton("X", 20);

            if (_eff_type == E_EffectType.attribute)
            {
                _e_component = new EAttributeItem(Ew - 20, 115);
            }
            else if (_eff_type == E_EffectType.value)
            {
                _e_component = new EValueItem(Ew - 20, 115);
            }
        }