What are the benefits of each learning c# or java? Like for developing in unity but also out of unity, are there more things I can do or game development kits that use them? I want to learn something I can use more than just in unity or just has most benefits.
I was also wondering which one is easier to learn since this is my first language (somewhat), and where are some good places to learn them online if possible.
Java isn’t one of the languages supported by Unity. The languages Unity supports (outside of C++ plugins) are C#, Boo, and UnityScript, which historically has been called ‘javascript’ but is not actually javascript.
UnityScript is a Unity-specific language, so if you’re interested in learning a language that’s applicable outside of Unity, it probably wouldn’t be your first choice. However, many people seem to find UnityScript to be a good beginners’ language, so that’s something to factor in as well.
Regarding learning a language that can be used outside of Unity, it’s probably worth mentioning that once you’ve developed some skills as a programmer, learning new languages isn’t usually that big of a deal. So, you needn’t necessarily rule out UnityScript just because it’s Unity-only. (You can always pick up other languages later.)
That said, I’d guess that C# is the most widely used of the three supported languages (not within Unity - that’d probably be UnityScript - but rather overall). I don’t know much about Boo though.
There are plenty of resources for learning UnityScript and, to a somewhat lesser degree, C# in the context of Unity; just search the forums for ‘tutorials’ and you’ll find many previous threads on the subject. Since C# is a general-purpose language, there are plenty of non-Unity-specific resources available for it, so the relative shortage of Unity-specific tutorials needn’t deter you, IMO.