Am I allowed to?
I want to be able to see the code they used for a lot of the Vector3 methods they added during 3.x up to current 3.4.2
Thanks in advance.
asked Dec 07 '11 at 12:32 AM
Like all managed libraries you can reflect the code with any reflector. However Unity have a lot functions that are based on native code (since Unity is mainly written in C++) and therefore the managed dll contains just wrapper objects / functions to external functions which you can't view.
Luckily most of the Vector3 stuff is pure managed code. I'm not sure what functions you referring to. It feels like all of them have been there even before 3.0, but maybe i've missed it ;)
I always use ILSpy which can view IL or decompile to C#.
The two dlls can be found here:
The only code you can see is what they expose. so f12 the vector3 object and you'll get the accessors but that's about it. :(
answered Dec 07 '11 at 12:35 AM