Health/Assets/_VoiceAssistant/Plugins/com.richframe.frame/Runtime/Util/DontDestroyOnLoad.cs

12 lines
210 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DontDestroyOnLoad : MonoBehaviour
{
private void Awake()
{
DontDestroyOnLoad(gameObject);
}
}