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
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
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.
7
7
8
-
:book:[Learn More about Singleton pattern](https://en.wikipedia.org/wiki/Singleton_pattern)
8
+
📖[Learn More about Singleton pattern](https://en.wikipedia.org/wiki/Singleton_pattern)
9
9
10
10
## Features
11
11
@@ -26,7 +26,7 @@ and add it as a git package in the Unity Package Manager by clicking on the "+"
26
26
27
27
Once you have the package installed, you may
28
28
29
-
- Create your own Singleton classes by extending the Generic [:sparkles: Singleton :sparkles:](Runtime/Scripts/Singleton.cs) class. (:rocket: Check out the example [GameManager](Samples~/Scripts/GameManager.cs) in the example [\_Preload scene](Samples~/Scenes/_Preload.unity).)
29
+
- Create your own Singleton classes by extending the Generic [✨ Singleton ✨](Runtime/Scripts/Singleton.cs) class. (🚀 Check out the example [GameManager](Samples~/Scripts/GameManager.cs) in the example [\_Preload scene](Samples~/Scenes/_Preload.unity).)
30
30
- Attach your singleton classes to a GameManager game object in a \_Preload scene of your own.
31
31
- Edit the variables inside the inspector
32
32
- Run the game and enjoy!
@@ -51,16 +51,16 @@ Run the following command in terminal or command prompt to clone the repository:
0 commit comments