Repository navigation
Version 0.3
π§ͺ What's new? 9/19/24
π§ͺ 1) Call Activator:
βββ Easily call frame-based methods less to improve performance!
CallActivator helloWorldCallActivator = new CallActivator(activateTime: 10);
void Update()
{
// Log 'hello world' frameRate / activateTime times per second
// (with activateTime set to 10)
helloWorldCallActivator.Request(() => Debug.Log("Hello world!"));
}π§ͺ 2) Instance checks:
βββ In previous version, there was no way to check if the component has an instance without creating a new instance.
βββ Now we have .HasInstance() method!
π§ͺ 3) New singleton types:
βββ - ForceSingletonDontDestroy<T>
βββ - ProtectedSingletonDontDestroy<T>
βββ - ForceProtectedSingletonDontDestroy<T>