Unity site Tutorials

Hi
Am i right in assuming the tutorials on the unity site, Rolla ball/ Survival shooter are all scripted in C#?

If so where does Uscript come into play?

Thanks

Unityscript is pretty much becoming a legacy language. It’s still supported, but less the 20% of users use it. New resources are done in C#.

I’d suggest forgetting about it.

Oh that’s cool then.
Just wanted to check i was learning only c# and not a mix without realising.

One way to tell the difference between the languages is that C# scripts will have using statements at the top. Like this.

using UnityEngine;
using System.Collections;

There are a couple of other things you can look for. The void keyword is another dead give away (C# only). The var keyword is used all over the show in JS, but only inside a method in C#. Class declarations are more common in C#.

After you get familiar with C# it becomes “If I can read it its C#, otherwise it must be JS”. And occasionally some noob will past a script they copied from the internet that mixes both. For reference this doesn’t work.