using System;
using UnityEngine;
namespace Framework.Services {
/// Calls Unity's DontDestroyOnLoad() method on its game object
public class DontDestroyOnLoadCaller : MonoBehaviour {
/// Called when the script component is loaded into a game object
public void Awake() {
GameObject.DontDestroyOnLoad(gameObject);
}
}
} // namespace Framework.Services