Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How do I get started with codeing

Discussion in 'Getting Started' started by block_boy_, Oct 27, 2015.

  1. block_boy_

    block_boy_

    Joined:
    Oct 27, 2015
    Posts:
    3
    I have been looking for a week now and I can not find ANY script that works in unity. Even the ones copied DIRECTLY off this website will have at least 6 compiling errors. I have no idea how to code with unity so I can not just simply track down the problems with these 15 lines of code. Either unity changes how you need to code too often that anything could get done on it, or no one knows how to code with unity. Please prove me wrong.
     
  2. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
    Have you gone to http://www.unity3d.com/learn and followed the starting tutorials? I would suggest roll-a-ball as a place to start.

    If you are having trouble with compiler errors, then please make a post with the code, the error and any additional information that might help us help you.

    If you post code, please use code tags so the code will be formatted is readable manner.

    To copy a compiler error, select the error in the console and copy the text that appears in the lower box. You will need to copy one error at a time.
     
  3. jhocking

    jhocking

    Joined:
    Nov 21, 2009
    Posts:
    813
    yeah the Learn section has great tutorials for starting to learn programming within Unity.

    Although I tend to suggest a slightly less direct approach to learning coding. I suggest going to Codecademy and do the first couple learning modules there (it only takes a couple nights). What you learn won't be Unity specific, but then the basics of programming aren't Unity specific, and the lessons there are both really good and free.
     
    JoeStrout likes this.
  4. sr3d

    sr3d

    Joined:
    Oct 19, 2015
    Posts:
    78
    Do every tutorial here - http://unity3d.com/learn/tutorials/topics/scripting

    Go slow and make sure you master all those concepts or you're going to be in a world of hurt. JUST DO IT.