Setup
Install UniFlux
https://github.com/xavierarpa/UniFlux.gitopenupm add com.xavierarpa.unifluxnpm i com.xavierarpa.unifluxGenerate your Scritps
using UniFlux;
using UnityEngine;
public class Test : MonoFlux
{
private void Start()
{
// Allows you to call any method subscribe with "0" Key
"0".Dispatch();
}
[MethodFlux("0")] private void Tester()
{
Debug.Log("Hello world");
}
}Last updated