Files
Fishing2NetTest/Assets/Scripts/Common/Utils/DontDestroy.cs
2026-03-05 18:07:55 +08:00

9 lines
135 B
C#

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