Changes
- Time->time
Fixes
- scenes without dependencies load correctly
- static or predefined groups after reloading scene work correctly
Added
Custom coroutines
void run(){
routines.run(move()); // local coroutines that dies if scene get removed
routines.app.run(move()); // global coroutines that live out of the scene scope
}
IEnumerator move()
{
yield return routines.wait(1f);
yield return routines.waitFrame;
}
Group binders
Eliminate the need for making global static groups.
[Bind(tag.importantGroup)] // use Bind with int ID to register group in cache
private Group<ComponentTest> TestGroup;
// retrieve your group by ID somewhere in the code.
var gr = ent.groups[tag.importantGroup];
Custom Debug
Safely use this method everywhere. It won't be used in the release mode of ACTORS.
debug.log("your_debug");