https://forums.unrealengine.com/t/how-do-i-remove-a-c-class-from-my-project-code/305447
- close Visual Studio and UE4 Editor
- Remove the class .cpp and .h from disk in file explorer
- Remove everything in Game\Binaries
- Run GenerateProjectFiles.bat
- Open UE4.sln
- Get back to normal coding activity
Unrealda C++ Sınıfları Nasıl Silinir?
- Visual Studio ve UE’yi kapatın
- File Explorer üzerinden silmek istediğiniz sınıfın .cpp ve .h uzantılarını silin
- Daha sonra /Binaries klasörünü silin
- .uproject‘e sağ tık yapıp Generate Visual Studio project files‘ çalıştırın
- Editörü açın
Clean Project / Reducing Project Sizes
Upon opening a project UE4 will generate various files and folders if they do not already exist:
.vs
Binaries
DerivedDataCache
Intermediate
Plugins/*/Intermediate
(any Intermediate folder inside a plugin)- Saved
ProjectName.sln
(only if your project has a c++ code in it)
These files and folders can be deleted to reduce the total size of your project when archiving, sharing and/or moving the project. They are often times also excluded from source control using a .ignore
list for example.
The Binaries
folder inside of plugins should not be deleted as they might contain pre-built libraries of which the source code is not distributed with the plugin and therefore cannot be regenerated on demand.
Leave a Reply