私有变量显示在编辑器
在私有变量前加特性[SerializeField],可以在编辑器中拖拽赋值
[SerializeField] private int Hp;
首页
我的博客
粤ICP备17103704号