Is there a way to view to view the Vector3 or 2 class script? I want a custom class that does something similar to it.
1 Answer
1Download ILSpy and open the UnityEngine.dll (UnityInstallFolder/Editor/Data/Managed/).
Btw Vector3 is not a class but a struct which makes it a value type and not a referencetype.
To be honest I sometimes used monodevelops assembly a browser but first it's quite slow, second it often can crash monodevelop, some classes can't be decompiled. I would always prefer ILSpy :)
– Bunny83It can also decompile any .NET assembly to IL, C# or VB.NET. IEnumerators are usually not supported by the C# and VB decompiler since the C# compiler does some goto-tricks in IL which aren't possible in plain C#. IL does always work (since that's basically the assembly-language of .NET), but it's a bit hard to read. However it helps to get a better understanding of the whole .NET / Mono system.
– Bunny83
i'm using this plugin but i cant control my interstitial ad, it shows all the time , how to make it close on ad close, please help :(
– Vali91