一、多个场景同时存在
方法:将另一个场景拖拽进 当前场景中


这样在一个场景中保存物体,另一个场景切换即可
创建一个场景名为上图(这是一个持久化的场景)
被激活的场景是粗体字的

二、代码
使用第二个代码获得player的子物体
因为子物体是一开始关闭的

unity中的InputSystem中的固定测试设备的方法

方法:将另一个场景拖拽进 当前场景中
这样在一个场景中保存物体,另一个场景切换即可
创建一个场景名为上图(这是一个持久化的场景)
被激活的场景是粗体字的
二、代码
使用第二个代码获得player的子物体
因为子物体是一开始关闭的
unity中的InputSystem中的固定测试设备的方法