Example #1
0
    /*==========================================================================*/
    /*		func																*/
    /*==========================================================================*/
    //------------------------------------------------------------------------

    /*!
     *      @brief		起動時呼出し
     */
    //------------------------------------------------------------------------
    protected override void Awake()
    {
        base.Awake();

#if FLOOR_EXP
        for (int i = 0; i < m_AcquireExp.Length; i++)
        {
            m_AcquireExp[i] = new InGameAcquireExp();
        }
#endif // #if FLOOR_EXP

        m_AcquireMoney = new InGameAcquireMoney[GlobalDefine.INGAME_MONEY_MAX];
        for (int i = 0; i < m_AcquireMoney.Length; i++)
        {
            m_AcquireMoney[i] = new InGameAcquireMoney();
        }

        m_AcquireUnit = new InGameAcquireUnit[GlobalDefine.INGAME_UNIT_MAX];
        for (int i = 0; i < m_AcquireUnit.Length; i++)
        {
            m_AcquireUnit[i] = new InGameAcquireUnit();
        }

        m_AcquireTicket = new InGameAcquireTicket[GlobalDefine.INGAME_TICKET_MAX];
        for (int i = 0; i < m_AcquireTicket.Length; i++)
        {
            m_AcquireTicket[i] = new InGameAcquireTicket();
        }

        m_AcquireUnitRareNum = new int[(int)MasterDataDefineLabel.RarityType.MAX];
        for (int i = 0; i < m_AcquireUnitRareNum.Length; i++)
        {
            m_AcquireUnitRareNum[i] = 0;
        }
    }
Example #2
0
 public InGameAcquireTicket(InGameAcquireTicket cSrc)
 {
     m_TicketFloor = cSrc.m_TicketFloor;
     m_TicketValue = cSrc.m_TicketValue;
 }