Search Unity

I can't use js, why?

Discussion in 'Scripting' started by eoghandu64, Oct 21, 2017.

  1. eoghandu64

    eoghandu64

    Joined:
    Oct 21, 2017
    Posts:
    2
    I updated unity this week and now, i can't add js script on my gameObjects : I just can add c# script. How can i use js?
     
  2. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    You can still create JS via the Legacy submenu. JS is being deprecated from Unity and will eventually be removed.
     
  3. TaleOf4Gamers

    TaleOf4Gamers

    Joined:
    Nov 15, 2013
    Posts:
    825
    I guess it was a matter of time until this happened.
    JS is being removed at some point in the near future. You can either choose to stay on this version or switch to C#. (Which is fairly trivial for someone with a fair amount of programming experience)

    Here is the blog post:
    https://blogs.unity3d.com/2017/08/11/unityscripts-long-ride-off-into-the-sunset/

    EDIT: I just realised they called it UnityScript in the blog post. How long have they done that?
    (Its always been US to me :p )
     
    Ryiah likes this.
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,190
    Different Unity employees seem to refer to it by different names. :p
     
  5. eoghandu64

    eoghandu64

    Joined:
    Oct 21, 2017
    Posts:
    2
    thank you