Skip to content

Version 0.3

Choose a tag to compare

@jeandarcc jeandarcc released this 19 Sep 10:37
· 15 commits to main since this release

πŸ§ͺ 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>