v1.3 - Multi-Named Injections & Small Optimizations
A small release for a major version number update, but an important one in terms of quality-of-life for certain projects.
Note: while this release doesn't contain any breaking changes, it's advised to remove the old Impossible Odds Toolkit installation from your project first (found at: Assets/Impossible Odds/Toolkit
), and apply the updated package afterwards.
Added
- The global dependency injection scope can now be disabled to inject loaded scenes automatically. This prevents the scene from being scraped for injectable components when activated, and can help in reducing loading times of larger scenes. This can be toggled in the Impossible Odds section of the project's preferences panel.
Updated
- The
Inject
attribute can now be placed multiple times on a member, allowing for different named context to inject the same member.
Improved
- The
Log
class has now multiple overloads for each log function that can take up to three parameters, similar to theString.Format
overloads, to minimize the amount of memory allocations that would otherwise occur from creating the list of parameters.