12 lines
164 B
C#
12 lines
164 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace RoR2;
|
||
|
|
||
|
public class SetDontDestroyOnLoad : MonoBehaviour
|
||
|
{
|
||
|
private void Awake()
|
||
|
{
|
||
|
Object.DontDestroyOnLoad(base.gameObject);
|
||
|
}
|
||
|
}
|