https://github.com/bharathvishal/singleton-implementation-unity
A sample project explaining the usage of singleton object to hold global game state.
https://github.com/bharathvishal/singleton-implementation-unity
example gamedev gamedev-library gamedevelopment games plugin script singleton singleton-pattern unity unity-asset unity-editor unity-scripts unity-tutorial unity2d unity3d unity3d-games unity3d-plugin unitydev unityscript
Last synced: about 1 month ago
JSON representation
A sample project explaining the usage of singleton object to hold global game state.
- Host: GitHub
- URL: https://github.com/bharathvishal/singleton-implementation-unity
- Owner: BharathVishal
- License: apache-2.0
- Created: 2018-06-25T06:10:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-09T12:12:18.000Z (3 months ago)
- Last Synced: 2025-07-20T14:41:04.277Z (3 months ago)
- Topics: example, gamedev, gamedev-library, gamedevelopment, games, plugin, script, singleton, singleton-pattern, unity, unity-asset, unity-editor, unity-scripts, unity-tutorial, unity2d, unity3d, unity3d-games, unity3d-plugin, unitydev, unityscript
- Language: C#
- Homepage:
- Size: 272 MB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Singleton-Implementation-Unity
A sample project explaining the usage of singleton object to hold global game state.### Usage :
Import the package [Unity-Singleton/Package/Unity Singleton.unitypackage](https://github.com/BharathVishal/Singleton-Implementation-Unity/blob/master/Package/Unity%20Singleton.unitypackage) from Unity (or) open the project under
[Unity-Singleton/Source Project/](https://github.com/BharathVishal/Singleton-Implementation-Unity/tree/master/Source%20Project/Unity%20Singleton).1. The Singleton_Controller class holds the global game state consistently during scene switches.
- This is explained through the score variable.
2. Modify the code to suit your needs.### Year developed :
2018### IDE :
Unity 6000.1.9f1### Preview :
#### License :
[Apache License 2.0](https://github.com/BharathVishal/Singleton-Implementation-Unity/blob/master/LICENSE)
© 2018-2025. Developed by Bharath Vishal G (https://github.com/BharathVishal). Thank you. :slightly_smiling_face: