Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T07:51:21.000Z (5 months ago)
- Last Synced: 2024-09-17T09:44:21.940Z (5 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: 271 MB
- Stars: 10
- 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 2022.3.46f1### Preview :
![Alt Text](https://github.com/BharathVishal/Singleton-Implementation-Unity/blob/master/Preview%20GIFs/1.gif)#### License :
[Apache License 2.0](https://github.com/BharathVishal/Singleton-Implementation-Unity/blob/master/LICENSE)
© 2018-2024. Developed by Bharath Vishal G (https://github.com/BharathVishal). Thank you. :slightly_smiling_face: