Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Creating and Using Scripts

Discussion in 'Documentation' started by master_rigel, Oct 9, 2015.

  1. master_rigel

    master_rigel

    Joined:
    Mar 24, 2014
    Posts:
    69
    "Learning the art of programming and the use of these particular languages is beyond the scope of this introduction. However, there are many books, tutorials and other resources for learning how to program with Unity. See the Learning section of our website for further details."

    I was flipping through the Scripting Overview section and noticed that most of the examples are in C#. I would add a sentence to the end of the above paragraph. I would say "You will find that most of the examples in this section are written in C#."

    By giving people a heads up, they can decide if they want to go learn C# first. They can do so by following the link in the paragraph that they just read. If this is not called out, the person may go ahead thinking they can adapt their JavaScript skills with UnityScript and may encounter a greater amount of difficulty than they are expecting.
     
    Last edited: Oct 9, 2015
  2. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Once upon a time all scripts were written in JS and converted into C#. Because the user base is now much more focused on c# that's what we use now for code examples, and we convert those into JS. The intention is both languages are supported equally.
     
  3. master_rigel

    master_rigel

    Joined:
    Mar 24, 2014
    Posts:
    69
    that's a nice intention, but the javascript examples are mostly missing, so my previous post was just an idea to be helpful to new users.