10 lines
152 B
C#
10 lines
152 B
C#
using UnityEngine;
|
|
|
|
public class DontDestroyOnLoad : MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
DontDestroyOnLoad(this.gameObject);
|
|
}
|
|
}
|