Hi,
Is it possible to select item by using variable as it's name or ID in event system?

The use case I'm looking into is that I want to setup generic "Harvest Item" event interaction. For example where you click on a mushroom 3D object in a world, and mushroom inventory item gets added to your inventory while mushroom 3D object is replaced with "Collected Mushroom" 3D object. I can make 3D object replacement modular by using scene object actors, I was wondering if I can do the same with Inventory item?

If not I could write my own event, so np. Just want to make sure if there is a built in solution.

Cheers,
  • I don't think that's possible. You'd usually set up different prefabs with different events for this ...
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.