{"id":22087526,"url":"https://github.com/bharathvishal/singleton-implementation-unity","last_synced_at":"2025-08-29T17:07:10.120Z","repository":{"id":55658130,"uuid":"138550739","full_name":"BharathVishal/Singleton-Implementation-Unity","owner":"BharathVishal","description":"A sample project explaining the usage of singleton object to hold global game state. ","archived":false,"fork":false,"pushed_at":"2025-07-09T12:12:18.000Z","size":285578,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-20T14:41:04.277Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BharathVishal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-06-25T06:10:33.000Z","updated_at":"2025-07-09T12:09:15.000Z","dependencies_parsed_at":"2024-01-01T06:20:55.140Z","dependency_job_id":"0b39c38d-248f-4bfb-9d55-15804af8a9fb","html_url":"https://github.com/BharathVishal/Singleton-Implementation-Unity","commit_stats":null,"previous_names":["bharathvishal/singleton-implementation-unity"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/BharathVishal/Singleton-Implementation-Unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BharathVishal%2FSingleton-Implementation-Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BharathVishal%2FSingleton-Implementation-Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BharathVishal%2FSingleton-Implementation-Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BharathVishal%2FSingleton-Implementation-Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BharathVishal","download_url":"https://codeload.github.com/BharathVishal/Singleton-Implementation-Unity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BharathVishal%2FSingleton-Implementation-Unity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272729845,"owners_count":24983575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-12-01T02:05:53.986Z","updated_at":"2025-08-29T17:07:10.038Z","avatar_url":"https://github.com/BharathVishal.png","language":"C#","readme":"﻿# Singleton-Implementation-Unity\nA sample project explaining the usage of singleton object to hold global game state.\n\n\n### Usage : \nImport 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 \n[Unity-Singleton/Source Project/](https://github.com/BharathVishal/Singleton-Implementation-Unity/tree/master/Source%20Project/Unity%20Singleton).\n\n1. The Singleton_Controller class holds the global game state consistently during scene switches.\n   - This is explained through the score variable. \n2. Modify the code to suit your needs.\n\n\n### Year developed : \n2018\n\n\n### IDE :\nUnity 6000.1.9f1\n\n\n### Preview : \n![Alt Text](https://github.com/BharathVishal/Singleton-Implementation-Unity/blob/master/Preview%20GIFs/1.gif)\n\n#### License : \n[Apache License 2.0](https://github.com/BharathVishal/Singleton-Implementation-Unity/blob/master/LICENSE)\n\u0026nbsp;\n\n\n\u0026nbsp;\n\n© 2018-2025. Developed by Bharath Vishal G (https://github.com/BharathVishal). Thank you. :slightly_smiling_face:\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbharathvishal%2Fsingleton-implementation-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbharathvishal%2Fsingleton-implementation-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbharathvishal%2Fsingleton-implementation-unity/lists"}