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

Where can I go to learn up to date Unityscript

Discussion in 'Scripting' started by zigglr, Sep 29, 2015.

  1. zigglr

    zigglr

    Joined:
    Sep 28, 2015
    Posts:
    82
    I want to get into game development in unity using unityscript, and was just wondering if anyone can link me to some great up to date tutorials (preferably video) so I can learn how to do so? I understand the interface of unity just need to learn the scripting language now. All the videos I found on Youtube use an out of date version of the language. I would prefer to use unityscript to c# as I have experience with javascript

    Thanks
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    ...

    Unfortunately no. The biggest drawback of UnityScript as a language is that it is poorly supported in terms of documentation and tutorials. Some of the old hats might be able to direct you to a resource, but I wouldn't hold out for it.

    @Tiles, @Eric5h5 any idea for this one?
     
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    I doubt the videos use an out of date version, considering Unityscript hasn't been updated in quite a few years now (though C# hasn't either). An out of date version of Unity, perhaps, but not the language.

    --Eric
     
  4. zigglr

    zigglr

    Joined:
    Sep 28, 2015
    Posts:
    82
    I keep getting errors saying what i've written is deprecated though
     
  5. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Check out GetComponent. The main depreciation between Unity 4.X and 5.X was the shortcut properties were removed in favour of GetComponent. Since the shortcut properties were nasty anyway, this is a good thing.
     
  6. zigglr

    zigglr

    Joined:
    Sep 28, 2015
    Posts:
    82
    Seems I just get endless errors for every line I code that I copy from any video :/
     
  7. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Doesn't surprise me, the quick accessors were everywhere. Unfortunately if you want up to date tutorials you will need to switch languages. Sorry.
     
  8. GregMeach

    GregMeach

    Joined:
    Dec 5, 2012
    Posts:
    249
    Where is professor Peabody and the "way-back" machine when you need it!
     
    Kiwasi likes this.
  9. lordofduct

    lordofduct

    Joined:
    Oct 3, 2011
    Posts:
    8,380
    Run Unity 4.x?

    We still run it as upgrading our license is outside of our budget currently.
     
    Kiwasi likes this.
  10. Xoduz

    Xoduz

    Joined:
    Apr 6, 2013
    Posts:
    135
    Endless errors can sometimes be cleared up by fixing one line of code. What errors do you get when you try to follow those old tutorials?
     
  11. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    If you are on pro this isn't a silly idea. If you are on free/personal the upgrade is pretty much essential.
     
  12. Mr.Mille

    Mr.Mille

    Joined:
    Sep 17, 2015
    Posts:
    21
    There is no Unityscript as such. There are Unity classes, that are built using C#, Javascript and Boo. If you want to know how do the unity classes work, watch some videos for Scripting in the Tutorial section. For example:
    Scripting Primer and Q&A
    http://unity3d.com/learn/tutorials/topics/scripting
     
  13. LeftyRighty

    LeftyRighty

    Joined:
    Nov 2, 2012
    Posts:
    5,148
    @Mr.Mille unityscript is the "correct" name for the variant of "javascript" unity uses... being that that variant isn't really like javascript in web development or where ever so it's a bit of disambiguation.
     
    Kiwasi likes this.
  14. Mr.Mille

    Mr.Mille

    Joined:
    Sep 17, 2015
    Posts:
    21
    Ok, thanks for correction.