添加HideInInspector修饰符后就不会在Inspector面板上显示
[HideInInspector]
public float speed = 5;
添加HideInInspector修饰符后就不会在Inspector面板上显示
[HideInInspector]
public float speed = 5;
本文标题:Unity Public修饰的变量不在Inspector面板上显
本文链接:https://www.haomeiwen.com/subject/jiowfdtx.html
网友评论