Img

Start Guide

Simple Start

Import Flexy.GameFlow package to your project
Import Packages/Flexy.GameFlow/FlowSampleURP.unitypackage to your project
Unity can ask to import TexMeshProEssential package. Install it.

Open Assets/FlowSample/Boot.unity and press Play
You can see example of GameFlow in action with comments on every state and in Code

Here is very breaf explanation of work with GameFlow, but better look at Barley-Breaks
Ask questions on Flexy.GameFlow Unity Discussions Thread

Advanced Level

Clone template repo **Barley-Breaks** or **GameFlow MinimalShowcase**
They are most complete example of GameFlow usage
Learn how they structured and works
Ask questions on Flexy.GameFlow Unity Discussions Thread

Structure

Img
Img

Img

Those are ViewModels from MC-VMV pattern

   public class Window_MainMenu : UIWindowEx
   {
       [Callable]	void	OpenPlayFields		( )		
       {
           this.GetService<Service_GameFlow>().Open<Window_PlayFields>(this); // Possible
       }
       [Callable]	void	OpenSettings		( )		
       {
           Game.UI.Settings.Open(); // But this is way better
       }
   }

Img

Img