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

Would unity be a MFC SDI or MDI?

Discussion in 'General Discussion' started by SD2020_, Nov 21, 2016.

  1. SD2020_

    SD2020_

    Joined:
    Nov 3, 2015
    Posts:
    107
    I'm not sure where to post this question but i'm studying C++ MFC and I was wondering if Unity would be developed using the C++ MFC library.

    If anyone has an information or able to answer this question please do just wondering for studying purpose.

    Thanks in advance.
     
  2. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,328
    That's almost certainly not the case but I can't guarantee that. You see, editors visible in in the inspector can be constructed via user-specified C# classes, and the way those classes work have nothing to do with MFC.

    https://docs.unity3d.com/ScriptReference/EditorUtility.html
    https://docs.unity3d.com/ScriptReference/EditorGUILayout.html

    If you're studying C++ and looking for a GUI library, the best idea would be to avoid MFC completely and use Qt 5 instead. I can't honestly think of any reason to even consider MFC unless you're maintaining some legacy code which is already written using MFC.
     
  3. eskimojoe

    eskimojoe

    Joined:
    Jun 4, 2012
    Posts:
    1,440
    Unity does not use MFC nor MDI or SDI.

    Unity does use Visual C++ Run-Time Library statically linked, OpenGL / DirectX renders.

    The bug reporter (\BugReporter\) uses QT DLLs and libraries.
     
    SD2020_ likes this.
  4. SD2020_

    SD2020_

    Joined:
    Nov 3, 2015
    Posts:
    107
    Oh okay awesome!