14 lines
216 B
C#
14 lines
216 B
C#
using UnityEngine;
|
|
|
|
namespace UMod.Examples
|
|
{
|
|
public class KeepAlive : MonoBehaviour
|
|
{
|
|
// Methods
|
|
public void Awake()
|
|
{
|
|
DontDestroyOnLoad(gameObject);
|
|
}
|
|
}
|
|
}
|