Still in development. Name or other things can get changed.
Event Framework is Event-Based-ScriptableObject Framework which allows to make fast and easy way to communicate between multiple components.
You can use ScriptableObject directly without generic type like EventActionInt and handle changes at your own. Or you use EventActionValue which will add values like in this example (above image).
public class Player : MonoBehaviour
{
public EventActionValue<int> Mana;
public EventActionValue<Player> TargetSelection;
void Start()
{
// Fire just the event to update the value
Mana.Raise()
}
void UseMana()
{
// Will also fire event while changing the value
Mana.Value -= 10;
}
void SelectSelfAsTarget()
{
TargetSelection.Value = this;
}
}
Update without problems your UI with the event listener component. Also the ConverToEvent is an helper which includes convertion between different types like int to float.