Removed TOTU 103

This commit is contained in:
Ignacio Gómez Puga
2025-03-04 12:04:52 -06:00
commit 5847d844a5
675 changed files with 76582 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using UnityEngine;
public class DebugLoggerInitializer : MonoBehaviour
{
private static bool isInitialized = false;
private void Awake()
{
if (!isInitialized)
{
DontDestroyOnLoad(gameObject); // Evita que este objeto se destruya
isInitialized = true;
}
else
{
Destroy(gameObject); // Previene duplicados
}
}
}