omid3098 / OpenTerminal

Open Terminal for Unity3D. execute your commands in runtime!
116 stars 23 forks source link

TerminalMethods really slow on big projects #5

Closed bendangelo closed 6 years ago

bendangelo commented 6 years ago

I have a big project with lots of classes and the TerminalMethods class takes forever gathering all the attributes.

I made a work around by only getting attributes from monobehaviours in scene. This is much quicker and works for my use case. Let me know if you want a PR.

omid3098 commented 6 years ago

It would be very nice of you to send a PR. It seems logical to check only monobehavoiur attributes. But why just only the ones in the scene?

bendangelo commented 6 years ago

I meant all the game objects. I can open one in a bit.

bendangelo commented 6 years ago

https://github.com/omid3098/OpenTerminal/pull/6