UnityCommunity / UnitySingleton

The best way to implement singleton pattern in Unity.
https://en.wikipedia.org/wiki/Singleton_pattern
MIT License
446 stars 59 forks source link
csharp csharp-code csharp-library csharp-script design-pattern design-patterns singleton singleton-pattern singleton-standard singletonpattern unity unity-scripts unity-tutorial unity3d
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.

:book: Learn More about Singleton pattern

Features

Getting Started

Usage

Add using UnityCommunity.UnitySingleton; for using the classes.

Download

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

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

Or :fire: Download the master branch as zip.

Resources

License

MIT @ Unity Community

Made with :heart: by Unity Community