Documentation

Learn how to use FlowCanvas

Download PDF Version

Creating Event Nodes

In rare cases, you may want to create a custom event node specific to your project and where the existing event nodes do not suffice or are otherwise not adequate. As such, you can create a custom event node to handle almost everything you require. Here is an example for the included “Input Button” event node.

Do note, that the above node, implements the IUpdatable interface. Since the Unity input system, does not work based on regular events (UnityEvent or C# Event), we need to check the input in a per-frame basis. In such cases, the IUpdatable interface needs to be implemented along with it’s single “Update” method of course.

Yes No Suggest edit
1 of 1 users found this section helpful
Suggest Edit