Example #1
0
    /// <summary>
    /// 진행중, 성공, 대성공 카드 생성할때.
    /// </summary>
    public void SetCard(int iPanelDepth)
    {
        m_enDispatchCardType = enDispatchCardType.Dispatching;

        m_iPanelDepth = iPanelDepth;

        if (m_SlotDispatch != null)
        {
            m_SlotDispatch.SetActive(true);
        }
        if (m_SlotEmpty != null)
        {
            m_SlotEmpty.SetActive(false);
        }
        if (m_SuccessObj != null)
        {
            m_SuccessObj.SetActive(false);
        }
        if (_BigSuccessObj != null)
        {
            _BigSuccessObj.SetActive(false);
        }

        m_ImmediatelyCompleteLabel.text = StringTableManager.GetData(6725);     // 6725	즉시 완료

        SetDispatchInfo();
    }
Example #2
0
    /// <summary>
    /// 빈 카드 생성할때.
    /// </summary>
    /// <param name="del"></param>
    public void SetCard(OnClickCard evt)
    {
        m_enDispatchCardType = enDispatchCardType.Empty;

        DestroyCreatureIcon();

        if (m_SlotEmpty != null)
        {
            m_SlotEmpty.SetActive(true);
            m_SlotEmptyLabel.text = StringTableManager.GetData(6724);       // 터치하여\n임무 시작.

            if (OnClickCardEvent != null)
            {
                OnClickCardEvent = null;
            }

            OnClickCardEvent = evt;
            UIEventListener.Get(m_SlotEmpty).onClick = OnClickEmptyCard;
        }

        if (m_SlotDispatch != null)
        {
            m_SlotDispatch.SetActive(false);
        }
        if (m_SuccessObj != null)
        {
            m_SuccessObj.SetActive(false);
        }
        if (_BigSuccessObj != null)
        {
            _BigSuccessObj.SetActive(false);
        }
    }