-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for 5.2-5.3 versions of UE #37
Comments
You can try this branch, although I had not updated the definitions yet, so maybe some functions that were added or renamed may not be available (this could be fixed manually by editing the definitions if you find any) https://github.com/hiperbou/kotlin-unreal/tree/UE5.3 |
Please, can you say how implement this library in existing project from UE5.3 tree? |
Right now you will need to put manually the Unreal.js plugin because it is not available on the Unreal Marketplace for versions 5.2 or 5.3. Then you should copy the Content, kotlin-examples and kotlin-unreal-definitions to your project. Then, from the Source folder copy the files KotlinComponent.h, KotlinComponent.c, KotlinObject.h, KotlinObject.c Now add the Unreal.js plugin to your *.uproject file https://github.com/hiperbou/kotlin-unreal/blob/master/KotlinUnreal.uproject#L15 Make sure your **.Build.cs includes the module V8 https://github.com/hiperbou/kotlin-unreal/blob/master/Source/KotlinUnreal/KotlinUnreal.Build.cs#L11 Then, the difficult part would be copying the functionality on KotlinGameInstance to your own GameInstance Then you should modify this to use your GameInstance https://github.com/hiperbou/kotlin-unreal/blob/master/Source/KotlinUnreal/KotlinComponent.cpp#L59 (also the include) I have never done this process myself, but that should do the trick! |
You need to open the project in Visual Studio and do a rebuild. You would be able to see and fix any compilation errors from there. |
No description provided.
The text was updated successfully, but these errors were encountered: