IEnumerator UpdateCoinCounter(uint _amount)
 {
     while (_amount > 0)
     {
         m_bunnyOrderController.UpdateCoinCounter(m_playerInventory.m_money - _amount);
         _amount--;
         yield return(null);
     }
 }
    // Use this for initialization
    void Start()
    {
        m_bunnyOrderController = transform.GetComponentInParent <BunnyOrderController>();
        m_OrderUI = m_OrderImageUI.GetComponent <BunnyOrderUI>();

        m_OrderTextUI = m_OrderImageUI.transform.GetChild(0).GetComponent <TextMeshProUGUI>();

        m_OrderIngredientsUI[0] = m_OrderImageUI.transform.GetChild(1).GetComponent <Image>();
        m_OrderIngredientsUI[1] = m_OrderImageUI.transform.GetChild(2).GetComponent <Image>();
        m_OrderIngredientsUI[2] = m_OrderImageUI.transform.GetChild(3).GetComponent <Image>();
        m_bunnyOrderController.UpdateCoinCounter(m_playerInventory.m_money);
        //ShowUI(false);
        m_spriteRenderer = transform.GetChild(0).GetComponent <SpriteRenderer>();

        if (m_customerOrder.m_isActive)
        {
            m_spriteRenderer.enabled = true;
        }
    }