예제 #1
0
    /// <summary>
    /// 点击选择单体敌人
    /// </summary>
    /// <param name="e"></param>
    public void onSingleSkillCall(GameEvent e)
    {
        EventRequestSkillPackage package = (EventRequestSkillPackage)e.data;

        if (package != null)
        {
            mSkillTargetStruct.resetByEvent(package);
            mTouchControl.ChangeTouchState(TouchState.SelectSkillTarget_state);
        }
        package = null;
    }
예제 #2
0
        // 点击单体技能
        public void onSingleSkillCall(GameEvent e)
        {
            EventRequestSkillPackage package = (EventRequestSkillPackage)e.data;

            if (mMenuPanel.onSingleSkillCall(ref package))
            {
                mBloodControl.showFlag(package.isForSelf, package.isMyEff, package.mOwner);
                mTouchControl.ChangeTouchState(TouchState.SelectSkillTarget_state);
            }
            package = null;
        }