Flexy.Tools / Base

Flexy.Core

The shared foundation of Flexy.Framework: game contexts, binding, actions, and utilities.

Overview

Core package of Flexy.Framework that every other package depends on
It is Glue fo Flexy.Framework and based on Flexy.Briks\ToYs architecture

Description

You dont need to install Flexy.AssetRefs if you have UniTask installed

Github | Docs | Unity Discussions


GameContext

Flexy way to think about game dependencies and their composition - Context Based!

You can think like DI Container but more clear and tied to scenes and GameObjects so you can get GameContext from every GO or scene


Binders

Core of Flexy.Binding system

This is one of basis parts of Flexy.Bricks MC-VMV pattern for binding View to ViewModel

It is here because it can be used not only in UI but in coregame too


Actions

Universal and composable system to do action in response to event:

play sfx, show vfx, play animation, enable object, change color... actually any action


Common Utilities

Small set of very often and common used utilities



Key Strengths

  • It is Free
  • Customisable:
    • Mostly consists of small types that dont need customization
    • GameContext is highly customizable and even can be connected to another container
  • Modular:
    • Here only base glue layer is provided all other parts implemented as extensions in other packages

Technical details

  • UniTask based async init
  • Native C# Nullability annotations
  • C# 10
  • Fast Enter Play Mode support