Ejemplo n.º 1
0
        public void Init_Editor()
        {
            DrawStyleInt draw_stype_id = new DrawStyleInt(PropertiesKey.ACTION_ID);

            draw_stype_id.enable = false;
            prop.AddStyle(draw_stype_id);

            DrawStyleInt draw_stype_owner = new DrawStyleInt(PropertiesKey.ACTION_OWNER);

            draw_stype_owner.enable = false;
            prop.AddStyle(draw_stype_owner);

            DrawStyle draw_stype_action_type = new DrawStyle(PropertiesKey.ACTION_TYPE);

            draw_stype_action_type.enable = false;
            prop.AddStyle(draw_stype_action_type);
        }
Ejemplo n.º 2
0
        public void LoadData(ISkillTarget target, uint skill_id, uint summon_id)
        {
            m_SummonMoveTarget = target;

            m_SummonData = GameCenter.Instance.DataManager.skillSummonDB.Get(skill_id, summon_id);

            //load motion and action
            m_Motions = GameCenter.Instance.DataManager.skillMotionDB.GetMotion(skill_id, summon_id, this);
            m_Actions = GameCenter.Instance.DataManager.skillActionDB.GetAction(m_SummonData.owner, m_SummonData.id, this);


            DrawStyleInt summon_id_draw = DrawStyle.IntStyle(PropertiesKey.SUMMON_ID);

            summon_id_draw.enable = false;
            m_SummonData.prop.AddStyle(summon_id_draw);

            DrawStyleInt summon_owner_draw = DrawStyle.IntStyle(PropertiesKey.SUMMON_OWNER);

            summon_owner_draw.enable = false;
            m_SummonData.prop.AddStyle(summon_owner_draw);
        }