Skip to content

BharathVishal/Singleton-Implementation-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 from Unity (or) open the project under Unity-Singleton/Source Project/.

  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 :

Alt Text

License :

Apache License 2.0  

 

© 2018-2025. Developed by Bharath Vishal G (https://github.com/BharathVishal). Thank you. 🙂

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy