Unity内联序列化类的秘密 一个藏在Inspector面板背后的"俄罗斯套娃"一、开篇:一个看似简单的问题你在Unity中写了一个脚本:publicclassPlayer:MonoBehaviour{publicinthealth;publicfloatspeed