Finish Magician

This commit is contained in:
Gurge44 committed 2023-10-15 21:05:13 +02:00
1 parent b1e9b04914
commit 8bffe93f04
25 files changed
+685 -235

No files matched your search

+13 -13
View File
@@ -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)
{