Search Unity

Creating an Editor Window using C++

Discussion in 'Immediate Mode GUI (IMGUI)' started by SD2020_, Mar 2, 2017.

  1. SD2020_

    SD2020_

    Joined:
    Nov 3, 2015
    Posts:
    107
    Okay I am filmier with creating Editor windows using C# i'm just wondering if anyone has used C++ to create DLL files for there extensions.

    I'm just not sure how to go about creating menu items and stuff in C++, could anyone show examples?
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    That's not something that can be done. You can create native code plugins where the functions are called from editor scripts, but considering they have to be compiled for each operating system separately, you'd need a very compelling reason that really can't be done with C# to bother with it.

    --Eric
     
  3. SD2020_

    SD2020_

    Joined:
    Nov 3, 2015
    Posts:
    107
    Fair point was just wondering!

    Thanks for commenting!