Unity Public修饰的变量不在Inspector面板上显2022-12-07 本文已影响0人 114105lijia 添加HideInInspector修饰符后就不会在Inspector面板上显示 [HideInInspector] public float speed = 5;