ata4 / disunity

An experimental toolset for Unity asset and asset bundle files.
The Unlicense
2.69k stars 662 forks source link

[Question] Howto extract scripts/monobehaviour #33

Open lostb1t opened 10 years ago

lostb1t commented 10 years ago

Any suggestion if this is possible?

ata4 commented 10 years ago

The scripts are compiled as C# bytecode in DLL files, such as Assembly-CSharp.dll or Assembly-UnityScript.dll. The asset files merely link these libraries, so you'll need a C# decompiler to get these scripts back in text form. ILSpy is one of them. Don't expect easily re-compilable results, though.

Scrivener07 commented 10 years ago

There is also Just Decompile which you may like. Both are good depending what you want to do.