Hello
I read the documentation but i still have problems with events, after couple of hours i still don't understand how it works...
We have an event called: OnInventoryPickupItem.
I know the signature, it's working fine when i'm trying to assign that in inspector. But now i want to RegisterEvent via a script. And... that part won't work
I have no idea if i need any parameters at the start or not, what type of parametr should that be.
Maybe it's part of CharacterController, i don't know that, i tried with Inventory from UCC (not working, because i dont have an inventory on the scene from UCC after integrations), i tried with Inventory from Ultimate Inventory => still no luck. Is somewhere any explanation how we should use those events, what should be parameter/listener ? Documentation is not clear about that part. It costs a lot of hours to identify what kind of parameters and from which package should have every event...
I read the documentation but i still have problems with events, after couple of hours i still don't understand how it works...
We have an event called: OnInventoryPickupItem.
I know the signature, it's working fine when i'm trying to assign that in inspector. But now i want to RegisterEvent via a script. And... that part won't work
I have no idea if i need any parameters at the start or not, what type of parametr should that be.
Maybe it's part of CharacterController, i don't know that, i tried with Inventory from UCC (not working, because i dont have an inventory on the scene from UCC after integrations), i tried with Inventory from Ultimate Inventory => still no luck. Is somewhere any explanation how we should use those events, what should be parameter/listener ? Documentation is not clear about that part. It costs a lot of hours to identify what kind of parameters and from which package should have every event...