Search Unity

Question about mono cross platform

Discussion in 'Editor & General Support' started by jdebroy, Dec 16, 2009.

  1. jdebroy

    jdebroy

    Joined:
    Nov 18, 2009
    Posts:
    35
    Silly question:
    Any mono function is cross platform?

    Meaning that even with unity free I could add a c# script and use mono functions, not as plugins?

    Basically am thinking of licensing schemes, database access for saving/retrieving user settings via web cgi scripts and such.
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Yes.

    --Eric
     
  3. jdebroy

    jdebroy

    Joined:
    Nov 18, 2009
    Posts:
    35
    Thanks Eric.

    Another question: Can I still use .net functions not in mono even though the resulting program would be windows only?
     
  4. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    No, or at least probably not without some kind of hacking. Unity doesn't use .net.

    --Eric
     
  5. jdebroy

    jdebroy

    Joined:
    Nov 18, 2009
    Posts:
    35
    Well, I understood incorrectly about .net but anyway mono has all functionality I need.

    Thanks,

    JD
     
  6. jdebroy

    jdebroy

    Joined:
    Nov 18, 2009
    Posts:
    35
    By the way, what mono version does Unity uses at this date? I found a user asking for an upgrade to mono 2.4, so it is a previous version.
     
  7. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    1.2.5, I believe.

    --Eric
     
  8. jdebroy

    jdebroy

    Joined:
    Nov 18, 2009
    Posts:
    35
    If that is the case, all reference at mono website is not valid for Unity, because they only have the latest version documentation, meaning function reference, classes, Etc.
    Am searching for the complete reference on Unity site, but so far no luck.
    I have just downloaded mono v1.2.5 but it seems to lack documentation.
    I downloaded a thing called monodoc 1.2.5 but it is a bunch of programs with instructions to compile, not documents.
    Where can I find that complete mono reference for use with unity?

    Sorry to bother that much.
     
  9. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    If you stick to .net 2.0 docs, that mostly (but not entirely) covers everything.

    --Eric
     
  10. jdebroy

    jdebroy

    Joined:
    Nov 18, 2009
    Posts:
    35
    That's a great start point. The MSDN library keeps previous versions documentation, whereas mono only has docs for the current version, so older versions are digged who knows where.
    If I find some specific documentation for mono 1.2.5 will post it here.