12 lines
204 B
C#
12 lines
204 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class DontDestroy : MonoBehaviour
|
||
|
{
|
||
|
void Awake()
|
||
|
{
|
||
|
DontDestroyOnLoad(gameObject);
|
||
|
}
|
||
|
}
|