Skip to content

Utils.Singleton 2.0.0

Latest

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