using UnityEngine;
namespace MoreMountains.Tools
{
///
/// Add this component to an object and it'll persist across scenes
///
public class MMDontDestroyOnLoad : MonoBehaviour
{
///
/// On Awake we make sure our object will not destroy on the next scene load
///
protected void Awake()
{
DontDestroyOnLoad(this.gameObject);
}
}
}