Hey,
I worked on a Unity project for a long time. I have write the most script's in javacodes so JS (Javascripts/unityscripts), but now I made a mistake.
I would convert one Javascript Unity project to C# scripts with a script converter tool, but the converter has convert all my javascripts in my primary Unity Project to C# scripts too .
Now I don't have a backup from my primary project Javascripts, so all my javascripts are converted to C# scripts (my game project don't work anymore).
But I have build my game a day ago, so I have now downloaded "dotPeek" the tool can decompile .dll files and can export scripts. The problem is, it can only decompile all scripts to C# not to javascripts. I have only two scripts written in the c# language, the rest is written in JS, so JavaScript/unityscript.
----------
- My question is, is there a way to convert all the C# scripts back to my javascripts?
----------
- Or the better option: Is there a way to extract the js (Javascripts/unityscripts) from my builded game?
----------
Here are a picture from the two c# scripts in my builded game(I can export my c# scripts perfect with "DotPeek" or any export tool, but not my javascripts):
![alt text][1]
[1]: https://image.ibb.co/dWJp1n/c_scripts.png
----------
And here are a picture from my Js (Javascripts/unityscripts). If I open my builded game with any decompile tool, will any program convert my javascripts to c# scripts automatically. So this picture is made in "DotPeek" too:
![alt text][2]
[2]: https://preview.ibb.co/eyvV7S/javascripts.png
Thanks,
-Florian
↧