Repository navigation
What's Changed
- Added Unity 6.5 support.
- Added
bool TryGetInstance([NotNullWhen(true)] out T? instance)toDontCreateNewSingleton<T>.
Breaking Changes:
DontCreateNewSingleton<T>andSingleton<T>are nowabstract partialand requireTto be of typeDontCreateNewSingleton<T>andSingleton<T>respectively.Singleton<T>now implementsAwake.DontCreateNewSingleton<T>.Instanceis now nullable.
PRs
- Utils.Singleton v2.0.0, #6
Full Changelog: v1.2.3...2.0.0