Example #1
0
        public string[] datas;                      // 参数类型数据

        public EffCnf(string text, E_EffectType type, int sub, string[] tmps)
        {
            desc        = text;
            effect_type = type;
            sub_type    = sub;
            datas       = tmps;
        }
Example #2
0
        private void AddEffect(EButton button)
        {
            string data = _effect_popup.GetData();

            E_EffectType eff_type = (E_EffectType)Enum.Parse(typeof(E_EffectType), data);

            EEffectInfoItem effect_info_item = new EEffectInfoItem(Ew - 70, 460, eff_type);

            //AddComponent(effect_info_item, 10, _des_text_area.Ey + _des_text_area.Eh / 2 + 5);
            _scroll_view.AddItem(effect_info_item);
        }
Example #3
0
 public EEffectInfoItem(float width, float height, E_EffectType effect_type) : base(width, height)
 {
     _eff_type = effect_type;
     _init();
     _init_position();
 }