Hi there
Ive been using the book Beginning C# Game Programming and ive been taking some serious notes and stuff…I understand whats going on (thank god)
My question is what parts of C# scripting in Unity are different from basic C# .NET coding, what should I be focusing on more and less
Thanks
read through the unity documentation
Well it’s C# alright, there are some differences though such as:
-
Namespaces cannot be used when creating classes based on MonoBehavior - well if you want to use them that is.
I believe they can be used anywhere else though.
-
Unity API is not thread-safe by itself, so you should be careful if you’re using threads and only make sure to use Unity classes in the main thread.
-
Sockets are supported by all (except iOS/Android basic) afaik.
You can choose between .NET 2.0 subset which is smaller with less features, or .NET 2.0 with most (if not all) .NET 2.0 features.
good stuff thanks…also checked out the documentation and that looks like its going to be my bible for a good while…i just have a hard time getting started as im sure many do