- Home /
Question by
animatoroftheunknown · Aug 04, 2014 at 08:34 PM ·
spritemobilecontroller
Is it possible to make a 2D sprite controller with JavaScript?
I'm new to Unity, and I'm making a sprite game. I was wondering if it was possible to make a sprite controller using Javascript? I've seen tutorials, but they all use C#. But the thing is, I'm making a mobile game, so I can't use keys, I have to use "OnMouseDown". Please help, I've been trying to figure it out for days.
Comment
On$$anonymous$$ouseDown still works, I've been using the Unity Remote. They are both basically the same thing.
Your answer
Follow this Question
Related Questions
Rewriting movement on tranform to Rigidbody2D 1 Answer
New Input System, Multiple controllers plugged in Issue. 0 Answers
how to: make global variable 2 Answers
2D optimisation - mobile devices 0 Answers
Use mouse in a mobile game 0 Answers