RhinoFreak 发表于 2022-10-9 19:57

unity使用技巧(4)

脚本简述1:
1,this,当前脚本组件
2,this.gameObject ,当前物体
3,this.gameObject.name,当前物体的名字。
4,this.gameObject.transform。当前物体下的Transform组件
页: [1]
查看完整版本: unity使用技巧(4)