Search Unity

Java Script Unity?

Discussion in 'Scripting' started by RocketeerGames, Apr 5, 2009.

  1. RocketeerGames

    RocketeerGames

    Joined:
    Nov 11, 2008
    Posts:
    160
    Hi all

    I have two questions;

    1. I have a java script guru (web based) who is interested in helping me out on my iPhone game. The question he has is, how much difference is there between Unity java and web java (I have no clue)?

    2. Can you create an iPhone game in Unity by using only java as the scripting language?

    thanks
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    1. Quite a lot.
    2. Sure. Although it's Javascript, not Java, which is a quite different language.

    --Eric
     
  3. pseudonym

    pseudonym

    Joined:
    Apr 23, 2006
    Posts:
    145
    Can anyone tell me which version of JavaScript Unity uses, and a good resource for reference?

    Cheers,
     
  4. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    No version of JavaScript

    Its an alternative syntax for .NET which has syntax similarity with JS, but thats it about. The rest is all .NET functionality, not JS functionality.

    To learn it, check out the documentation
     
  5. pseudonym

    pseudonym

    Joined:
    Apr 23, 2006
    Posts:
    145
    Ok, thanks.