Question by
karakaiyuliia · Mar 21, 2018 at 02:59 AM ·
movementtransformrandomrandom.range
Create random numbers of object and move them
Hello! I am completely new to Unity. I have one sprite. Random number of that sprite should show up on one edge of the screen and then exit on another. So random number of one sprite should continuously move along the screen. Also it should move not only horizontally or vertically, but also diagonally. Any ideas how I can achieve that? I am using C#.
Comment
If you are completely new to Unity, I can't suggest enough that you watch some tutorials on YouTube before trying to get help on the forums. You should have a basic idea of what's going on before it's really worth seeking help on the forums. I suggest "gamesplusjames" tutorials on YouTube. His platformer series really helped me out back in the day. I suggest you follow along with those. :)