- Home /
Generating and scrolling assets
I currently have a blue skybox for a background. To simulate moving I have two middle grounds at different depths. At this point I only have cubes that are randomly generating different sizes and scrolling from right to left. I am looking to input a different asset to replace the cubes. I'm an amateur when it comes to Unity and C#. If anyone could give me any guidance on how to generate my new asset several times on it's plane while scrolling and resetting once it reaches the right of the screen, that would be great. Also, if it's not too much to ask I'd like to see the asset random change it's scale when reset to the right of the screen.
I was using http://catlikecoding.com/unity/tutorials/runner/ as a reference to get started. I have been able to rewrite the script and understand what I am doing, but now, I want to expand my knowledge and step up from this prototype.
Any help will be appreciated, thanks in advance.
Your answer
