How to get first script from gameobject while having propery : Unity

后端 未结 0 1460
花落未央
花落未央 2021-02-05 22:20

I would like to get the first script in an gameobject, and still be able to set and get proper\'s of it. I\'m coding in c# in unity I have tried "GetComponents(typeof(MonoB

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