Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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: