Singleton-Implementation-Unity
May 10, 2026 · View on GitHub
A sample project explaining the usage of singleton object to hold global game state.
Usage :
Import the package Unity-Singleton/Package/Unity Singleton.unitypackage from Unity (or) open the project under Unity-Singleton/Source Project/.
- The Singleton_Controller class holds the global game state consistently during scene switches.
- This is explained through the score variable.
- Modify the code to suit your needs.
Year developed :
2018
IDE :
Unity 6.4 (6000.4.5f1)
Preview :

License :
© 2018-2026. Developed by Bharath Vishal G (https://github.com/BharathVishal). Thank you. :slightly_smiling_face: