Forums › 💬 FlowCanvas › ⚙️ Support › A couple of questions on Flowcanvas › Reply To: A couple of questions on Flowcanvas
Hello,
Do you mean a Spirte Array? (Spirte[])? If so, FlowCanvas does not support arrays but instead support Lists (which work in a similar way).
As such, you can create a Sprite List variable in the Blackboard, through the “Add Variable” button and then -> “New/Collections/List (T)/UnityEngine/List(Sprite)” (or simply search for “list sprite”).
The default built-in even system, follows only supports 1 parameter (following the same way that Unity’s Send Event works which also support 1 parameter). There are however alternatives:
– One alternative is to use a Custom Fuction and then Call that custom function, if you want to call an even within the same flowscript. Custom Functions and calling Custom Functions can be found under (“Functions/Custom”) category.
– Another alternative (new in v3), is “Signals”. Signals work similar to Custom Events, support multiple parameters but needs a bit more setup. Here are the steps required to make a Signal event work:
Let me know if either of the above works for you.
Thanks!