B
B
Bruh_Bruh2020-11-20 19:57:06
Unity
Bruh_Bruh, 2020-11-20 19:57:06

Why can't I drag text into the inspector?

There is a text in the canvas - the number of cartridges in the clip. In the script, it is used to visualize the loss of ammo when shooting (the script hangs on the player's prefab). I'm trying to drag an object with text into the script in the inspector, but nothing comes out... Is this a bug in the engine or a mistake on my part?
5fb7f50d6204e488392061.jpeg
5fb7f519249cf746450398.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question