Files
DropToTheRoots/Game/Assets/Scripts/HoleDeath.cs
T
2026-06-06 22:42:50 +02:00

11 lines
211 B
C#

using UnityEngine;
public class HoleDeath : MonoBehaviour
{
void Awake()
{
// This tells Unity NOT to destroy this object when loading a new scene
DontDestroyOnLoad(gameObject);
}
}