Unity Java question.

Quick question about Unity’s Java. Since the only thing Java about Java with Unity is in the syntax, does that mean that all the code is prebaked into c# and does not run through a translator? Also, in contrast, does that mean it shares the same vulnrabilities as c#?

Unity does not use Java. It uses JavaScript (It’s not the same as Java), and even then it’s really UnityScript, not JavaScript but similar.

If you’re used to Java, you’re better off using C# since it’s closer to Java than UnityScript.

Which ones?

Whatever language you use, the code is compiled into CIL. Then, at runtime, the CIL code is compiled on the fly into a machine’s native code by a JIT compiler.