Hello
I can see the UE source in my project which is created as c++ in UE 5.4.1 editor.
Where are source files at?
Open up your project folder, navigate to the Source folder, inside the Source folder there should be another folder with your project’s name on it, and inside that, you should see 2 folders named Public & Private.
If you don’t see them however, you can simply generate them
To do that, launch your project by opening up the .sln file and building it by hitting Ctrl + F5. Once the editor opens, navigate to the Tools menu on the top left and select the New C++ Class option. Hit next on the parent class selection menu and then select the Public option next to the Class Type text. Now you can close the editor, head back to your project folder and see your header and C++ files in those Public & Private folders.
Oh wait I think you’re asking for the Unreal Engine source code rather than your C++ project’s source code. Here are the steps to gain access to that.
Hope this helps!
Hi, @VisAgilis
Thanks for your kindness!
I checked the source in my project following your approach. Project source files are created.
May i suggest one more question?
Are UE source files copied into install path?
What do you mean by UE source files? It’s source code? If so, you can gain access to it by following the steps in the guide I provided.
That’s not what I meant.
Step by step for my question.
- Install UE any version
- Go to installed path
- There are some source code files.
Is this just UE source code? Can i use it for developing UE project?
No that’s not Unreal Engine’s source code.
I think you’re asking how to write C++ code. You can just open up the .sln file or double click on your C++ classes inside the editor
No, I’m pro.
I develop the slate rendering project based on UnrealSlateTemplate.
I create the C++ project includig sln file from template and write codes.
In my project, i can add the modules and include the needed header files.
But in my local, there are no any version UE source code at all.
This is strange for me. So, i jumped on forum.
However, it seems like the problem to my ability to express.
Thanks.
if just downloaded engine by Epic Games Launcher, there are only including all the header files of source code inside your installation folder, if you want all source code (*.cpp) files, you need to setup your github account and link your github account to Epic github to gain access for cloning all source code of the engine…