You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As things are at the time of this writing, you need to set a restricted event type for Defined Event Nodes. I think it'd be good if you had the option to instead pass in a variable of the event type.
As for a use case... Suppose you have a script graph that moves a UI window on screen in response to a global event. It also triggers a different event when it decides to move OFF screen. Without the option to pass in variables for the type, you'd have to clone the graph asset for each menu you want to apply that functionality to. But with the option, you could just use the same graph asset for different menus.
The text was updated successfully, but these errors were encountered:
As things are at the time of this writing, you need to set a restricted event type for Defined Event Nodes. I think it'd be good if you had the option to instead pass in a variable of the event type.
As for a use case... Suppose you have a script graph that moves a UI window on screen in response to a global event. It also triggers a different event when it decides to move OFF screen. Without the option to pass in variables for the type, you'd have to clone the graph asset for each menu you want to apply that functionality to. But with the option, you could just use the same graph asset for different menus.
So like a custom event but instead of inputing a game object you input the event type?
You don't input a game object in a custom event. For clarity's sake, here's an example of the event node I was talking about: https://imgur.com/a/9OOjIaf
As things are at the time of this writing, you need to set a restricted event type for Defined Event Nodes. I think it'd be good if you had the option to instead pass in a variable of the event type.
As for a use case... Suppose you have a script graph that moves a UI window on screen in response to a global event. It also triggers a different event when it decides to move OFF screen. Without the option to pass in variables for the type, you'd have to clone the graph asset for each menu you want to apply that functionality to. But with the option, you could just use the same graph asset for different menus.
The text was updated successfully, but these errors were encountered: