using System; using UnityEngine; using YooAsset; public class BhvApplicationQuit : MonoBehaviour { private void Awake() { DontDestroyOnLoad(this.gameObject); } private void OnApplicationQuit() { YooAssets.Destroy(); } }