Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
UnityCommunity
/
UnitySingleton
Public
Notifications
You must be signed in to change notification settings
Fork
69
Star
665
Code
Issues
1
Pull requests
0
Actions
Projects
0
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Branch selector
main
User selector
All users
Datepicker
All time
Commit History
Commits on Sep 15, 2025
Merge pull request #22 from nnra6864/DeletingExistingInstanceFix
Show description for 9184522
hasanbayatme
authored
9184522
Copy full SHA for 9184522
Merge pull request #23 from nnra6864/DefaultExecutionOrder
Show description for b70b666
hasanbayatme
authored
b70b666
Copy full SHA for b70b666
Added [DefaultExecutionOrder(-50)] to MonoSingleton
Show description for 32400bc
nnra6864
committed
32400bc
Copy full SHA for 32400bc
Fixed the existing instance being deleted in Awake
Show description for 27282b4
nnra6864
committed
27282b4
Copy full SHA for 27282b4
Commits on Jul 8, 2025
Merge pull request #20 from ThatAmuzak/fix-readme-samples-links
Show description for 9416bf6
hasanbayatme
authored
9416bf6
Copy full SHA for 9416bf6
fix readme samples links
ThatAmuzak
committed
97b58b3
Copy full SHA for 97b58b3
Commits on Mar 5, 2025
Merge pull request #18 from lfeq/feature-support-child-dontdestroyonload
Show description for 0600101
hasanbayatme
authored
0600101
Copy full SHA for 0600101
Add option to unparent singleton on awake
lfeq
committed
7bed0ce
Copy full SHA for 7bed0ce
Commits on Feb 22, 2025
Merge pull request #16 from ThatAmuzak/convert-to-upm
Show description for b6c92ae
hasanbayatme
authored
b6c92ae
Copy full SHA for b6c92ae
updated links to main repo
ThatAmuzak
committed
d96bc52
Copy full SHA for d96bc52
Merge pull request #15 from ThatAmuzak/convert-to-upm
Show description for dca4f98
hasanbayatme
authored
dca4f98
Copy full SHA for dca4f98
removed hardcoded path for Readme files
ThatAmuzak
committed
39dac85
Copy full SHA for 39dac85
Commits on Feb 21, 2025
added readme asset for quick overview on usage and functionality
ThatAmuzak
committed
ead75cb
Copy full SHA for ead75cb
converted Samples to Samples~ to separate package from sample assets
Show description for 91ce4f1
ThatAmuzak
committed
91ce4f1
Copy full SHA for 91ce4f1
added links for change log, license and documentation
Show description for d9e7be9
ThatAmuzak
committed
d9e7be9
Copy full SHA for d9e7be9
added changelog, updated project version
ThatAmuzak
committed
5c26fa1
Copy full SHA for 5c26fa1
converts entire project to UPM
ThatAmuzak
committed
e7e9613
Copy full SHA for e7e9613
Commits on Oct 26, 2024
Merge pull request #14 from AldeRoberge/patch-1
Show description for eed63bd
hasanbayatme
authored
eed63bd
Copy full SHA for eed63bd
Commits on Oct 23, 2024
Fixed broken link in README
AldeRoberge
authored
53ec4d0
Copy full SHA for 53ec4d0
Commits on Jul 8, 2024
Merge pull request #13 from jueane/main
Show description for b2cd785
hasanbayatme
authored
b2cd785
Copy full SHA for b2cd785
fix: Instance caused a stack overflow
je
committed
3dff7e6
Copy full SHA for 3dff7e6
Commits on May 8, 2024
Merge pull request #12 from Joknaa/main
Show description for fd9ffcc
hasanbayatme
authored
fd9ffcc
Copy full SHA for fd9ffcc
Commits on May 7, 2024
Update Readme.txt
Joknaa
authored
71cddd3
Copy full SHA for 71cddd3
Commits on Jan 24, 2024
Revised the singletons implementation
Show description for 77c325f
hasanbayatme
committed
77c325f
Copy full SHA for 77c325f
Commits on Jan 23, 2024
Add missing methods for MonoSingleton.cs
hasanbayatme
authored
84faf4b
Copy full SHA for 84faf4b
Commits on Dec 2, 2023
Add Init for existing instance and basic editor mode support
hasanbayatme
committed
e902a9f
Copy full SHA for e902a9f
Commits on Nov 28, 2023
Merge pull request #9 from fcmz/master
Show description for a61f77a
hasanbayatme
authored
a61f77a
Copy full SHA for a61f77a
Add Singleton and MonoSingleton
fcmz
committed
8467fd9
Copy full SHA for 8467fd9
Commits on Nov 27, 2023
Merge pull request #8 from NoSLoofah/master
Show description for ca0f8c7
hasanbayatme
authored
ca0f8c7
Copy full SHA for ca0f8c7
Add readme and test script for scene singleton
NoSLoofah
committed
70bbeab
Copy full SHA for 70bbeab
Merge pull request #6 from starryforest-ymxk/master
Show description for 040576c
hasanbayatme
authored
040576c
Copy full SHA for 040576c
SceneSingleton.meta
starryforest-ymxk
committed
f8d0572
Copy full SHA for f8d0572
SceneSingleton
starryforest-ymxk
committed
057a4e3
Copy full SHA for 057a4e3
Commits on Dec 14, 2017
Update README.md
hasanbayatme
authored
552733a
Copy full SHA for 552733a
Update README.md
hasanbayatme
authored
92d6002
Copy full SHA for 92d6002
Pagination
Previous
Next
You can’t perform that action at this time.