12 lines
228 B
C#
12 lines
228 B
C#
using UnityEngine;
|
|
|
|
namespace JoeSiu.Common.Infrastructure.Runtime
|
|
{
|
|
public class DontDestroyOnLoad : MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
DontDestroyOnLoad(gameObject);
|
|
}
|
|
}
|
|
} |