Files
Fishing2/Assets/Scripts/Common/Utils/DontDestroy.cs

9 lines
135 B
C#

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