Unity3D切换场景不销毁物体

DontDestroyOnLoad(gameObject);

原文地址:https://www.cnblogs.com/wowanyasuo/p/5976921.html