- Home /
Buy with one click IAP
Okay so I apologize if this is a loaded question but is there a way to have an all in one script that will but an item when a button is clicked? For example, if I have an unlock able player with a button below him that says "Buy $1.99", is there a script I could use to handle the purchase completely? I already have it on the android market with a product ID so it is a real product. I also already have a script that has no errors when I compile it. Im just not sure what to do with it cause the tutorial I found it from has it reference two other scripts attached to the shop menu as a whole (its the IAP tutorial on UNITY's site btw). Why do they call functions to each other? I just want a simple script for this one item. Any thoughts are greatly appreciated, thanks!!