Search code examples
c#visual-studiounity-game-enginenamespacesdotpeek

Using dotPeek, I would like to see the full structure of the UnityEngine namespace


When wondering how the source code of the .NET API is implemented, I check the mscorlib of dotPeek.

I recently started studying Unity, and I'm curious about the inside of the UnityEngine namespae.

using UnityEngine; // This one!

How can I check the inside of UnityEngine namespace in dotPeek?

Here's what I've tried:

  • I looked for MSDN API Browser but couldn't find it.
  • I downloaded and decompiled UnityEngine.dll, but it wasn't what I want.
  • I downloaded the Unity Engine decompiled file from GitHub, but it was the engine itself, not the namespace.
  • I searched the official Unity website, but could only find an explanation of the terminology.

Currently I am using the Go to definition method provided by Visual Studio 2022.

It's a really great feature, but it's a pity because it can only be used when there is a written source code.

I really desperately want your help. Thanks for reading.


Solution

  • The Unity Scripting Engine is documented. That should be enough to do what you need for game development. Stuff like RigidBody can be found unter UnityEngine and then Classes.