- Home /
Question by
TheBritishKiwi · Jan 14, 2014 at 10:16 PM ·
texturespriteimage
How do I change a sprite's image using scripts?
Hi, I'm fairly new to Unity and I've been using tutorials to learn it. I feel like I'm doing pretty good, but I have a problem. The game I'm making is 2D and I've created, so far, a texture for the character facing forward and one facing backward. I want them to switch when I move up/down, but I just can't work it out. I've looked it up on google and these forums but I can't find anything useful to me as I'm a beginner. Please can someone help me? Thanks in advance!
And by the way, I'm using C#
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to stop gradient banding? 2 Answers
Texture parameter preview. 0 Answers
compress photos on import 0 Answers
How do you crop a Texture2d 1 Answer