Skip to content

Commit

Permalink
feat: add UE 5.4 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
rancoud authored Jan 2, 2024
1 parent 5f65fb1 commit 095b5a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ It is necessary to have an account in order to get the API key on your profile p

Feel free to contribute.

Works on Unreal Engine `4.26` , `4.27` , `5.0` , `5.1` , `5.2` , `5.3`
Works on Unreal Engine `4.26` , `4.27` , `5.0` , `5.1` , `5.2` , `5.3` , `5.4`

## How to install it?
1. download zip file: https://github.com/blueprintue/blueprintue-cpp-plugin/archive/refs/heads/master.zip
Expand All @@ -18,7 +18,7 @@ Works on Unreal Engine `4.26` , `4.27` , `5.0` , `5.1` , `5.2` , `5.3`
You can verify if plugin is loaded go to `Edit` > `Plugins` > filter with `blueprintue` > you need to have `Enabled` checked

## How to update UE 5.x Version list?
In file `Source/BlueprintUe/Public/SCreateBlueprint.h` line 107 you change `i` with `3` to have from `5.0` to `5.3`
In file `Source/BlueprintUe/Public/SCreateBlueprint.h` line 107 you change `i` with `4` to have from `5.0` to `5.4`
```c++
for (int i = 3; i >= 0; --i)
for (int i = 4; i >= 0; --i)
```
2 changes: 1 addition & 1 deletion Source/BlueprintUe/Public/SCreateBlueprint.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class SCreateBlueprint : public SCompoundWidget
UEVersion = VERSION_STRINGIFY(ENGINE_MAJOR_VERSION) VERSION_TEXT(".") VERSION_STRINGIFY(ENGINE_MINOR_VERSION);
UEVersionOptions.Empty();
int currentUEVersionIndex = 0;
for (int i = 3; i >= 0; --i)
for (int i = 4; i >= 0; --i)
{
FString tmpUEVersion = FString::Printf(TEXT("5.%d"), i);
UEVersionOptions.Add(MakeShareable(new FString(tmpUEVersion)));
Expand Down

0 comments on commit 095b5a6

Please sign in to comment.