nethergram
New member
Hello,
I have an equippable item that has a small video screen. When I click use, I want a custom action to play that switches the video on the screen based on a couple of factors. I was able to do this successfully using a script attached to my custom Item that I made using the item manager.
However, I'm wondering if I am doing this wrong. I don't know how it works and the docs weren't clear to me, but would the best course of action be to add an action that utilizes a Unity event in a script attached to my item?
I am thinking a Unity Event is simply a function call. If I am wrong, what's the best way to structure an action like this in UCC?
Thank you!
I have an equippable item that has a small video screen. When I click use, I want a custom action to play that switches the video on the screen based on a couple of factors. I was able to do this successfully using a script attached to my custom Item that I made using the item manager.
However, I'm wondering if I am doing this wrong. I don't know how it works and the docs weren't clear to me, but would the best course of action be to add an action that utilizes a Unity event in a script attached to my item?
I am thinking a Unity Event is simply a function call. If I am wrong, what's the best way to structure an action like this in UCC?
Thank you!