Skip to content
Compare
Choose a tag to compare
@MartinIsla MartinIsla released this 13 Oct 14:21

Allow tasks to be restarted
Yeah... that. If you save an STask you can now call task.Restart() and it will reset all of its parameters and make it play again. This is good if you need to create many tasks too often, since creating tasks does allocate some memory.

Note: this feature was added about a year ago for a project that required extensive optimization. Even though it was extensively tested, I can't really remember how it was used or if there were any caveats. Documentation will be updated when I have time to dive into it again.

Removed examples from the .unitypackage
Sorry, I no longer think it's necessary to include examples in the package. They're however still available in the repo.