Forums › 💬 FlowCanvas › ⚙️ Support › How to pass reference value?
I have code like this in a class
When I want to bind Action in Custom Event Node
My Event Node havent been tested yet, but my reference function error like the picture
So what is yhe way to pass reference value?
Although I can code like this
But it is less generic
Hello,
If you make your public Action an event like so: public event Action OnMoveAction;, you will be able to subscribe to that event with the existing nodes like the “C# Event Callback”. Do you intentionally don’t want to make it an “event”?
public event Action OnMoveAction;
Let me know. Thank you.