• Stars
    star
    354
  • Rank 120,042 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created about 7 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The best way to implement singleton pattern in Unity.
Getting Started Features License Resources Download

Unity Singleton

The best way to implement singleton pattern in Unity. By using this pattern you will be able to define Global variables and classes and use their methods and properties in Global. This pattern is a must have for most of the games that made using Unity engine.

πŸ“– Learn More about Singleton pattern

Features

  • Works in both Development and Production
  • Instantiates Singleton objects if they aren't available by Lazy Load
  • You can configure fields in the inspector for singleton objects in the preload scene

Getting Started

Download

Run the following command in terminal or command prompt to clone the repository:

git clone https://github.com/UnityCommunity/UnitySingleton.git

Or πŸ”₯ Download the master branch as zip.

Resources

License

MIT @ Unity Community

Made with ❀️ by Unity Community