mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Finish Magician
This commit is contained in:
1 parent
b1e9b04914
commit
8bffe93f04
25 files changed
+685
-235
No files matched your search
+13
-13
@@ -15,19 +15,19 @@ public class ErrorText : MonoBehaviour
|
||||
return _instance;
|
||||
}
|
||||
}
|
||||
private static readonly ErrorText _instance;
|
||||
//private void Awake()
|
||||
//{
|
||||
// if (_instance != null)
|
||||
// {
|
||||
// Destroy(gameObject);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// _instance = this;
|
||||
// DontDestroyOnLoad(this);
|
||||
// }
|
||||
//}
|
||||
private static ErrorText _instance;
|
||||
private void Awake()
|
||||
{
|
||||
if (_instance != null)
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
_instance = this;
|
||||
DontDestroyOnLoad(this);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
public static void Create(TMPro.TextMeshPro baseText)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user