N
N
NightCAT_Busya2022-01-26 16:30:49
3D
NightCAT_Busya, 2022-01-26 16:30:49

Sprite does not move in Animator. What to do?

61f14bbeae85b013867886.png
There is a script that allows you to control an object (cube) with a joystick. Everything works, but I can't transfer the reference to the object to the animator.
61f14c94140e1413412428.png
In the second picture, the code showing the animator.
How to transfer the link to the cube in the animator?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Farawa, 2022-01-26
@Farawa

Throw the animator on the object, and already throw it into the script

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question