Repository navigation
Releases: Uralstech/Utils.Singleton
Releases · Uralstech/Utils.Singleton
Release list
Utils.Singleton 2.0.0
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
Utils.Singleton v1.2.3
Utils.Singleton v1.2.2
Utils.Singleton v1.2.1
Utils.Singleton v1.2.0
What's Changed?
DontCreateNewSingleton.Instanceis nowprotected setinstead ofinternal protected set.
Full Changelog: 1.1.1...v1.2.0
Utils.Singleton v1.1.1
Utils.Singleton v1.1.0
Added
- New
DontCreateNewSingleton<T>class for when you don't want a new instance ofTcreated if existing ones aren't found. - New
HasInstanceproperty inSingleton<T>to check if any instance ofTexists without creating a new one.
Changed
- Updated
Singleton<T>to not use deprecated methods.
Full Changelog: 1.0.1...1.1.0