UnityCsReference
ILSpy
Our great sponsors
UnityCsReference | ILSpy | |
---|---|---|
58 | 42 | |
11,389 | 20,209 | |
1.5% | 2.1% | |
7.4 | 9.1 | |
3 days ago | 5 days ago | |
C# | C# | |
GNU General Public License v3.0 or later | Copyright 2011-2015 AlphaSierraPapa |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
UnityCsReference
-
Anyone know what Unity's Matrix4x4 looks like internally?
I've checked their CS reference code on their Github, both here and here, but I want to dive a little deeper - specifically, I want to know what they're actually doing when determining validity of the Matrix4x4.
-
Torn between chossing Unity & C# or going UE5 and C++. What made you choose unity?
Yep, but beyond just decompiling it, the c# layer of code is on GitHub: https://github.com/Unity-Technologies/UnityCsReference
- 2 minutes of silence for those who bought RTX 3070 and RTX 3070Ti
-
Do you use System.Object.ReferenceEquals() ?
https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Scripting/UnityEngineObject.bindings.cs (after 2019.1)
-
Custom method attribute for Animation Event Functions
The code where the method filtering for the Animation Event Inspector is done, is here (line 190). Is it possible to do something like this? That repository explicitly says:
- Can’t find operation
-
Bounds.Encapsulate precision loss?
No reason, you can look at the source of encapsulate
-
Modify Project Setting's "Default Quality Level" by script
There isn't really a straight forward way to do this, even the QualitySettings editor uses Serialised Properties to get at the data. (Line 343 in QualitySettingsEditor)
-
Has any indie dev got (read-only) access to Unity source? How much did it cost?
This is awesome, thank you! I'm most curious about their Runtime
-
Is C++ still the language when entering 3D programming in 2023?
I think if you want to get into graphics programming you do want to work with OpenGL and similar things, because at the very least you need to understand it all (and decide what parts of engines to use and what to ignore when you get to whole games). It's also worth saying that while you can only publicly get the references in Unity you do get source access at the higher subscription tiers you'd use at a game studio.
ILSpy
-
Rust takes forever to load
First, go grab this: https://github.com/icsharpcode/ILSpy. It's a decompiler that will break Rust down. Hope you like C#.
-
Found this exedecompiler.com website. Does anybody know it? Is it worth it?
If its a C#/.NET exe you can use ILSpy to get the source code https://github.com/icsharpcode/ILSpy
-
C# Testing Playgrounds for old versions?
Well, it might not be exactly what you're asking for, but ILSpy lets you choose what version of C# you wish to decompile an assembly to. This is great for learning how a specific feature used to be coded in C# prior to some new syntax/compiler feature being added.
- Regex Engine Internals as a Library
- How to make mods?
-
I made a DLL INteroreter that Allows the user to invoke methods with parameters in ANY DLL File
You will thoroughly enjoy this, then.
- Learning how to mod
-
The Rider IDE is able to disassemble C# code into High-level C#, Low-level C#, and IL. Is there a command line tool that can do this too, or is this proprietary?
I've only used their GUI frontend myself, but ILSpy is also available as a library and command line tool.
-
What does Realm.Fody do?
As you can see IL code is not exactly human readable, and it's also quite verbose. If you want to have an idea of how your code looks like in IL you can use a decompiler tool such as JustDecompile or ILSpy.
-
GDScript Export Mode usage for commercial or online games
Take a random piece of C# software, run it through ILSpy, and be amazed at the results.
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
dnSpy - .NET debugger and assembly editor [Moved to: https://github.com/dnSpy/dnSpy]
Raylib-CsLo - autogen bindings to Raylib 4.x and convenience wrappers on top. Requires use of `unsafe`
JustDecompile Engine - The decompilation engine of JustDecompile
tinyraycaster - 486 lines of C++: old-school FPS in a weekend
dnSpy
astc-encoder - The Arm ASTC Encoder, a compressor for the Adaptive Scalable Texture Compression data format.
AvaloniaILSpy - Avalonia-based .NET Decompiler (port of ILSpy)
oqtane.framework - CMS & Application Framework for Blazor & .NET MAUI
UndertaleModTool - The most complete tool for modding, decompiling and unpacking Undertale (and other Game Maker: Studio games!)
dotNext - Next generation API for .NET
unity-astar - A Star (A*) algorithm in C# focused on performance and setup for Unity