Search Unity

Java and javascript

Discussion in 'Scripting' started by Developer12, Sep 2, 2014.

  1. Developer12

    Developer12

    Joined:
    Sep 2, 2014
    Posts:
    2
    for a while I was learning java however I stopped because I was thinking to learn java and JavaScript does not change anything in my game and was wondering if java even learn something changes in Unity3D

    ps: i am new
     
  2. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,359
  3. Glockenbeat

    Glockenbeat

    Joined:
    Apr 24, 2012
    Posts:
    670
    It is not sometimes called UnityScript, it actually IS UnityScript. To be more precise: It may resemble JavaScript in some ways, but calling it JavaScript is wrong, because it is not. No idea why it's so commonly referred to as JS, maybe because it seems to be syntactically the same here and there and people know JS.

    Apart from that, yes. Java ≠ JavaScript.

    However, to answer the question:
    Stick to JavaScript/UnityScript if you only got these two options for programming with. Java won't do a thing in Unity, but JavaScript/UnityScript does.
    My recommendation though is to use C#. Quite easy to learn, similar to Java and fully usable with Unity.
     
  4. Developer12

    Developer12

    Joined:
    Sep 2, 2014
    Posts:
    2
    thank you very much "glockenbeat you help me a lot