Using [SerializeField] When Referencing a Variable in the Inspector in Unity

前端 未结 0 1205
南方客
南方客 2021-01-14 03:13

i was thinking if i need to reference an Object in Unity, doesn\'t it make sense to make the GameObject variable private with a [SerializeField] instead of making the variab

相关标签:
回答
  • 消灭零回复
提交回复
热议问题