Search Unity

Use C++ with Unity with new IL2CPP

Discussion in 'Scripting' started by Free286, Sep 10, 2015.

  1. Free286

    Free286

    Joined:
    Oct 29, 2013
    Posts:
    23
    I was wondering if there are any plans to add support for C++ as a language to Unity, if I understand correctly unity is already converting the IL to C++, is there potentially some way to use C++ for performance critical sections of code?
     
  2. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,512
    If your project requires such precise performance management that you can't get what you need from well-written managed code that compiles to native, you probably shouldn't be using an off-the-shelf engine anyway.

    In any case, I don't believe UT has announced any plans to support writing code in C++. If anything, they seem to be moving towards eliminating language options and sticking with only C#, which I think is the right move for 99.5% of their customers.
     
    georetro likes this.