A
A
Artem2020-08-14 23:03:22
C++ / C#
Artem, 2020-08-14 23:03:22

How to get all the code from the game on Unity?

There is an application made in Unity, I need to find a section of code where there is a text like "please enter your password" (this is how the password field is signed).

Through dnSpy, I opened Assembly-CSharp.dll and there, roughly speaking, all the standard English inscriptions that I see in the program window are searched normally, but I couldn’t find “please enter your password”, I also couldn’t find the text with program version "v.1.1".

I know C#, but I haven’t worked with Unity, so I don’t have the slightest idea about all the intricacies of its directories and files.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2020-08-15
@GavriKos

Well, firstly, and most importantly, the fields are not signed in the unit. The text and the input field are two different components and two different objects. So well, you will find the text, so what ... This will not be an input field. Is that misscommunication and this is not a SIGNATURE to the input field, but the value of the field BEFORE input.
Secondly - 90% that the game is not in one language. This means that the text in the text field is substituted by the script using the key from the localization.

M
Mikhail Strokin, 2020-08-15
@MeryString

Decompile the game with ILSpy. You can download it from the official Microsoft website , as well as in the Microsoft Store. Do not change any settings there, just File -> Open -> Assembly-CSharp.dll or Assembly-UnityScript.dll if the game is older and was written in UnityScript, but then you may need to change C# to IL. A branching tree will open, and your script will be on one of the branches.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question