// Called on the "Buy" button that is in the "Confirm Purchase" screen
        public void Button_ConfirmPurchase()
        {
            mainScript.OnPurchaseConfirmed();


            // Here I'm removing the "Confirm Purchase" screen using my animation script, change if needed
            mainScript.confirmPurchaseScreen.GetComponent <UIAnimation>().PlayAnimation("Out");
        }