Skip to content

JuhaKiili/RageEvent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RageEvent

Weakly typed event system for Unity.


Caller

EventManager.Trigger("MyEvent", 1f);

Listener

void Awake () {
	EventManager.Initialize(this);
}

[Listen("MyEvent")]
public void MyEvent(object[] parameters) {
	float f = (float) parameters[0];
	Debug.Log(f);
}

Is this the most performant event system for Unity?

No.

Is this the most robust and safe event system for Unity?

No.

What good is it then?

It's reasonably performant, automatically cleans up null references and doesn't require a lot of code.

About

Weakly typed event system for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages