UnityCommunity / Unitysingleton
Licence: mit
The best way to implement singleton pattern in Unity.
Stars: โญ 185
Programming Languages
csharp
926 projects
Projects that are alternatives of or similar to Unitysingleton
Unity Design Pattern
๐ต All Gang of Four Design Patterns written in Unity C# with many examples. And some Game Programming Patterns written in Unity C#. | ๅ็ง่ฎพ่ฎกๆจกๅผ็Unity3D C#็ๆฌๅฎ็ฐ
Stars: โญ 2,600 (+1305.41%)
Mutual labels: unity, unity3d, design-patterns, design-pattern
Fancyscrollview
[Unity] A scrollview component that can implement highly flexible animations.
Stars: โญ 1,216 (+557.3%)
Mutual labels: unity, unity3d, unity-scripts
Awesome Unity Open Source On Github
A categorized collection of awesome Unity open source on GitHub (800+)
Stars: โญ 1,124 (+507.57%)
Mutual labels: unity, unity3d, unity-scripts
Csharp Eval Unity3d
C# Expression Parser for Unity3D
Stars: โญ 102 (-44.86%)
Mutual labels: unity, unity3d, unity-scripts
Unity Assetpipeline Presentation
Unity project for "A Technical Deep-Dive into Unity's Asset Pipeline" presented at Develop: 2018
Stars: โญ 31 (-83.24%)
Mutual labels: unity, unity3d, unity-scripts
Unity Executionorder
A collection of attributes to control the execution order of your scripts in Unity from your source code.
Stars: โญ 48 (-74.05%)
Mutual labels: unity, unity3d, unity-scripts
Unity3d Dynamicallyloadinganimation
๐พ Unity3D Loading and unloading animations at runtime (Example)
Stars: โญ 74 (-60%)
Mutual labels: unity, unity3d, unity-scripts
Unity Curve Utils
A utility that can use 18 kinds of curve algorithm.
Stars: โญ 151 (-18.38%)
Mutual labels: unity, unity3d, unity-scripts
Infinity Square Space
Infinity Square/Space. The prototype of the game is open source. Unity Asset.
Stars: โญ 122 (-34.05%)
Mutual labels: unity, unity3d, unity-scripts
Impulse
A barebones C# bootstrap framework for building scalable projects quickly and easily in Unity.
Stars: โญ 109 (-41.08%)
Mutual labels: unity, unity3d, unity-scripts
Savegamepro
A Complete and Powerful Save Game Solution for Unity (Game Engine)
Stars: โญ 30 (-83.78%)
Mutual labels: unity, unity3d, unity-scripts
Qframework
Unity3D System Design Architecture
Stars: โญ 2,326 (+1157.3%)
Mutual labels: unity, unity3d, unity-scripts
Unitynativescripting
Unity Scripting in C++
Stars: โญ 844 (+356.22%)
Mutual labels: unity, unity3d, unity-scripts
Unityasync
Task and Async Utility Package for Unity. Start co-routines from anywhere.
Stars: โญ 58 (-68.65%)
Mutual labels: unity, unity3d, unity-scripts
Restclient
๐ฆ Simple HTTP and REST client for Unity based on Promises, also supports Callbacks! ๐ฎ
Stars: โญ 675 (+264.86%)
Mutual labels: unity, unity3d, unity-scripts
Entitas Csharp
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Stars: โญ 5,393 (+2815.14%)
Mutual labels: unity, design-patterns, design-pattern
Ecsrx
A reactive take on the ECS pattern for .net game developers
Stars: โญ 288 (+55.68%)
Mutual labels: unity, unity3d, design-patterns
Actors.unity
๐Actors is a framework empowering developers to make better games faster on Unity.
Stars: โญ 437 (+136.22%)
Mutual labels: unity, unity3d, unity-scripts
Unitylibrary
๐ Library of all kind of scripts, snippets & shaders for Unity
Stars: โญ 1,968 (+963.78%)
Mutual labels: unity, unity3d, unity-scripts
Unity Ui Examples
๐ A collection of UI examples for Unity.
Stars: โญ 152 (-17.84%)
Mutual labels: unity, unity3d, unity-scripts
Getting Started | Features | License | Resources | Download |
---|
Unity Singleton
The best way to implement singleton pattern in Unity. By using this pattern you will be able to define Global variables and classes and use their methods and properties in Global. This pattern is a must have for most of the games that made using Unity engine.
๐ Learn More about Singleton pattern
Features
- Works in both Development and Production
- Instantiates Singleton objects if they aren't available by Lazy Load
- You can configure fields in the inspector for singleton objects in the preload scene
Getting Started
- Download the Project.
- Open the Project in Unity.
- Create your own Singleton classes by extending the Generic โจ Singleton โจ class. ๐ Check out the example GameManager
- Attach your singleton classes to the GameManager game object in the _Preload scene.
- Edit the variables inside the inspector
- Run the game and enjoy!
Download
Run the following command in terminal or command prompt to clone the repository:
git clone https://github.com/UnityCommunity/UnitySingleton.git
Or ๐ฅ Download the master branch as zip.
Resources
- ๐ UnityGeek Singleton Article
- ๐ Stackoverflow Answer
- ๐ Unity Offical Wiki Singleton
- ๐ Singleton.cs Gist
- ๐ Wikipedia
License
MIT @ Unity Community
Made with โค๏ธ by Unity Community
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].