Hey, so I’m new to Unity, and I’m working on a stupid 3D game project to learn unity. It’s been a blast, but every time I come across a problem, I search the web to fix whatever problems I’m encountering. I really want to get good at scripting, and I’m worried that by copying and changing little bits of scripts for my game I’m actually just keeping myself from learning how to code. The project’s pulling itself together rather well for only 3-4 days worth of work, but I’m just worried that I won’t ever be able to learn code to code my own games without help from the net. Also, any recommendations for learning how to script? I watched most of the videos on Unity about scripting, and they kind of help me, but not a whole lot. I understand the idea of coding (I have a very limited coding background), but I’m really bad at the memorization of the C# commands, and syntax, and how to make things do stuff. Any help would be appreciated! Thanks for your time!
By the way, I can tell I’m really learning the Unity Engine from dong this project, but like I said, I’m worried I might be hurting my ability to script well for myself in the future. Any suggestions on how to really learn how to script?
first step is to get something that works cobbled together, next step is to figure out why it works, then make changes to it to make it do more stuff. Learning to write code is an iterative process, make stuff, learn stuff, repeat.
this is what google and the unity/c# api is for, so long as you know “I can do something with mouse positions” or whatever.
I figured that what I was doing was alright, but I wanted to make sure that it wouldn’t keep me from really learning how to code. I really appreciate it, and I’ll keep working on my projects! Thanks for your reply!
As I said in another thread very similar to this one:
If you learn by doing, rather than reading, follow along some tutorials and when a new line or function is presented, google it, fiddle with it, break it, figure out how that new thing is used and how it is not used, what works with it and what doesn’t. Become an expert of that line or function, then move on to the next line or function, wash, rinse, repeat.