bsimser / Inventory-Pro

https://devdog.io
MIT License
2 stars 0 forks source link

Using Vendor system in 2D games? #205

Closed bsimser closed 8 years ago

bsimser commented 8 years ago

Original report by Vaibhav Nair (Bitbucket: Warbard, ).


I am working on a 2D game in Unity. Is there any good tutorial videos on Inventory Pro, Vendor system.

Currently I am trying to created the "Vendor Window" in unity UI and for the Trigger, I have attached Vendor trigger Script on NGUI Button. So when the button is used it will open the Vendor.

Is there any other or better way to implement this???

Thanks and Regards,

bsimser commented 8 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


A button can't be used, as the item's are stored inside the trigger. Each vendor can have it's own set of items; So, instead of just showing the window you have to call the ObjectTriggerer.Use(), this is attached on the vendor trigger object.

bsimser commented 8 years ago

Original comment by Vaibhav Nair (Bitbucket: Warbard, ).


Ok Got the issue sorted, The error was due to Item buysellDilog window.

now when the game start its rotation value is changing to: X:50.0+, Y: 239.9+?

bsimser commented 8 years ago

Original comment by Vaibhav Nair (Bitbucket: Warbard, ).


All the issues are Resolved now

bsimser commented 6 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Removing milestone: v3 (automated comment)

bsimser commented 6 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Removing version: V2.2.1 (automated comment)