I’m new in Unreal Engine and am just in the investigation way but I have very important questions about UE functionality.
I would like to clarify if UE(4, or eralier) has In-App purchases support (iOS, Android, etc.)
Or, the most important - is there way to use 3d party libraries (C++, Objective-C, Java, etc?)
Can we use Objective-C code and iOS framework if we use Unreal Engine for iOS purposes?
Any answers or references will be appreciated.
By coding in C++ you extending code of engine, so there no limitation hat you can do, you can do anything what C++ can. UE4 uses own build menager called UBT and you need to edit build scripts in source directory to add extra liberies, here tutorial how to do it:
UE4 is strictly C++ because it macro trickery stuff in reflations (UHT), but if you try to find some hackery you might find a way to build some ObjC in to UE4. In case of Java, every Android application requires Java code, native code in Android works under supervision of Java application, UE4 is no diffrent, so if you want to add extra Android Java code you can do that. You can find Java portion of UE4 in Engine/Build/Android/Java, also i bet you will find more information on that in UE4 Android forum
You can use ObjC code. Just place the code within an .mm file, instead of a .cpp (not sure whether this is really necessary) and place preprocessor tags around your code:
#if PLATFORM_IOS
// your objc ios code here
#endif
Hi Serhii,
Did you find any suitable solutions on how to integrate 3rd party iOS framework with Unreal Engine (4 or earlier)? Looking forward to get some references from you, thanks a lot!