Files
Fishing2/Assets/Scripts/Utils/DontDestroy.cs
2025-05-10 12:49:47 +08:00

9 lines
135 B
C#

using UnityEngine;
public class DontDestroy : MonoBehaviour
{
void Awake()
{
DontDestroyOnLoad(gameObject);
}
}