Hi there
I am designing my buy system in the shop menu and I want the item to remove when sold out.
But I am facing a StackOverFlowException in the console after I added the RemoveItem() function in the BuyItem() function in the demo ShopGeneric script please see the image below
so what i mean is whenever an item being sold out and removed from the item collection then the error will occurs like the image shown below
I have also recored a video for your reference, please check the below link
Thank you
Man
I am designing my buy system in the shop menu and I want the item to remove when sold out.
But I am facing a StackOverFlowException in the console after I added the RemoveItem() function in the BuyItem() function in the demo ShopGeneric script please see the image below
so what i mean is whenever an item being sold out and removed from the item collection then the error will occurs like the image shown below
I have also recored a video for your reference, please check the below link
Thank you
Man