Iknow the basics of c#, but how to code in unity?

Hello there people!
I know the basics of c#, variables, loops and methods ( I can make hangman).
but for untiy there is a whole new level of code needed and I don’t know where to learn it…
example: how to code that if a ball goes through a basketballgoal, the score will go +1?
I really don’t know how to do that or where to learn it…
I hope someone can answer me…

Thanks a lot already!,
Niels

Click the link at the top of this page that says “Learn”.