Alon Gani last edited by Alon Gani
Here you can find flowgraph examples.
To use these flowgraph files simply import them to your project by drag and dropping or clicking on 'Assets' -> 'Import Assets'. Once imported you will see them in your assets folder. Double click on them will open the flowgraph.
- On start I'm making sure the animation has stopped. I've used 'Is Animation Playing' in order to detect if the animation is playing and branch node in order to decide what to do. Pause will pause the animation without restarting it and play animation will occur next time you touch the object when it has paused.
- Rotate object on touch.
Rotate Object On Touch.wagraph