コード例 #1
0
    //Activate a powerup if there is a powerup in the input corresponding Slot.
    private void ActivatePowerUp(int aSlot)
    {
        if (aSlot == 0)
        {
            m_PowerUp01.PlayEffect();
        }
        else if (aSlot == 1)
        {
            m_PowerUp02.PlayEffect();
        }

        m_PlayerUI.HidePowerUp(aSlot);
    }