Can someone please help:
How can I call from C# script a Bolt flow graph?
I don't know is this possible...I know how to do it in editor for a single object.
I have a script for runtime created buttons/images and I need to call UnityEvent form Bolt Flow. Script is already attached to any button created at runtime and OnPointerDown Debug.Log ("clicked") is working fine.
public class PointerEventListener : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IPointerClickHandler
public delegate void PointerEvent( PointerEventData eventData );
public event PointerEvent PointerDown, PointerUp, PointerClick;
public void OnPointerDown( PointerEventData eventData )
if( PointerDown != null )
PointerDown( eventData );
public void OnPointerUp( PointerEventData eventData )
if( PointerUp != null )
PointerUp( eventData );
public void OnPointerClick( PointerEventData eventData )
if( PointerClick != null )
PointerClick( eventData );
Thanks for any info.
Customer support service by UserEcho