Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

About the lack of real Mono documentation

Discussion in 'Documentation' started by cosmogonies.net, Apr 14, 2015.

  1. cosmogonies.net

    cosmogonies.net

    Joined:
    May 8, 2013
    Posts:
    7
    Hi, I wrote a blog post recently about the problems I had with the Mono version in Unity, and especially the lack of documentation of this framework.
    (You’re welcome to read it if you want to learn a little about differences with Mircosoft .NET and Unity’s Mono for csharp).

    I’m tired to use MSDN documentation because it’s not accurate, and I wonder if there is a place where Unity can provides us information about its "modified Mono 2.6" integration ?
    I only found that in the past, but I'm talking more about a user-oriented framework doc, like msdn.

    Or maybe anyone had success building a monodoc from the sources ?
     
  2. diegodorado

    diegodorado

    Joined:
    Jul 2, 2013
    Posts:
    4
    I would also like to find a list of what I can and cannot do within Unity.

    Things I found so far that are indeed allowed in Untiy but forbidden in .Net 2.0 are:
    • the ´var´ keyword
    • optional parameters
    • named parameters
    Is there a list of features that this modified Mono 2.6 integrations brings?
     
  3. FelixKerger

    FelixKerger

    Unity Technologies

    Joined:
    Jul 23, 2015
    Posts:
    1
  4. duck

    duck

    Unity Technologies

    Joined:
    Oct 21, 2008
    Posts:
    358
    Posting the same reply here as the other thread about mono:

    Unity currently uses Mono 2.6. We essentially support .Net 3.5 and almost all of C# 4 (the language). Note that the framework is distinct from the language.

    However, we also have to deal with all sorts of platform restrictions which complicates the matter. For example many things will never work under AOT-compiled platforms, some platforms are security restricted and run a subset of the full .Net profile. Other platforms are even more constrained (like WebGL) and cannot even use things like threads or .Net sockets.