Files
Fishing2/Assets/Scripts/Model/Utils/DontDestroy.cs
2025-08-29 09:11:08 +08:00

9 lines
135 B
C#

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