Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    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.