Skip to content

Releases: Uralstech/Utils.Singleton

Utils.Singleton 2.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 18:11

What's Changed

  • Added Unity 6.5 support.
  • Added bool TryGetInstance([NotNullWhen(true)] out T? instance) to DontCreateNewSingleton<T>.

Breaking Changes:

  • DontCreateNewSingleton<T> and Singleton<T> are now abstract partial and require T to be of type DontCreateNewSingleton<T> and Singleton<T> respectively.
  • Singleton<T> now implements Awake.
  • DontCreateNewSingleton<T>.Instance is now nullable.

PRs

  • Utils.Singleton v2.0.0, #6

Full Changelog: v1.2.3...2.0.0

Utils.Singleton v1.2.3

Choose a tag to compare

@github-actions github-actions released this 20 Jul 19:41

What's Changed

  • Fix release workflow and package structure.

Full Changelog: v1.2.2...v1.2.3

Utils.Singleton v1.2.2

Choose a tag to compare

@github-actions github-actions released this 20 Jul 14:45

What's Changed

  • Signed package.

Full Changelog: v1.2.1...v1.2.2

Utils.Singleton v1.2.1

Choose a tag to compare

@Uralstech Uralstech released this 03 Jan 11:49
6dbe36d

What's Changed?

  • Moved Utils.Singleton.asmdef into Runtime.

Full Changelog: v1.2.0...v1.2.1

Utils.Singleton v1.2.0

Choose a tag to compare

@Uralstech Uralstech released this 03 Jan 11:35
22131e8

What's Changed?

  • DontCreateNewSingleton.Instance is now protected set instead of internal protected set.

Full Changelog: 1.1.1...v1.2.0

Utils.Singleton v1.1.1

Choose a tag to compare

@Uralstech Uralstech released this 10 Nov 11:12
344a353

Changed

  • Updated description.

Full Changelog: 1.1.0...1.1.1

Utils.Singleton v1.1.0

Choose a tag to compare

@Uralstech Uralstech released this 23 Oct 11:04
8917340

Added

  • New DontCreateNewSingleton<T> class for when you don't want a new instance of T created if existing ones aren't found.
  • New HasInstance property in Singleton<T> to check if any instance of T exists without creating a new one.

Changed

  • Updated Singleton<T> to not use deprecated methods.

Full Changelog: 1.0.1...1.1.0

Utils.Singleton v1.0.1

Choose a tag to compare

@Uralstech Uralstech released this 06 Sep 13:43
8c2072e

Changed

  • Fixed documentation.

Full Changelog: 1.0.0...1.0.1

Utils.Singleton v1.0.0

Choose a tag to compare

@Uralstech Uralstech released this 06 Sep 11:17
de8c44d

Initial release.