-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Dimitar Dimitrov edited this page Dec 16, 2020
·
5 revisions
Welcome to this Dynamic Inventory System. In the default scene of the project, I tried to give examples, and how they should work. Of course, you should change them according to your game.
Instead of buttons, I would suggest using RayCasts and pass in the signal, the property of the interactor. When you open an Inventory Window, it needs to know who interacts with it, because you can add this Component to anything (Players, Containers, etc.). In the examples, I am just getting every node, which is in Group "Player" in the scene, and the first one it detects is the interactor, which is not a good solution