/*
 *Copyright(C) 2024 by Chief All rights reserved.
 *Unity版本：2023.2.5f1c1 
 *作者:Chief  
 *创建日期: 2024-02-28 
 *模块说明：模板信息
 *版本: 1.0
*/

using UnityEngine;

namespace Aster
{
    /// <summary>
    /// 在切换场景式不销毁的物体
    /// </summary>
    public class DontDestroyOnLoad : MonoBehaviour
    {

        private void Start() { DontDestroyOnLoad(gameObject); }

    }
}