Lots of work on several unrelated things.
This commit is contained in:
@@ -3,11 +3,8 @@
|
||||
|
||||
#include "TangibleManager.h"
|
||||
#include "Tangible.h"
|
||||
#include "DebugPrint.h"
|
||||
#include "LuprexGameModeBase.h"
|
||||
|
||||
using namespace DebugPrint;
|
||||
|
||||
UFunction *UlxTangibleManager::GetAnimationQueueChanged(UClass *uclass) {
|
||||
UFunction *result = uclass->FindFunctionByName(FName(TEXT("Animation Queue Changed")));
|
||||
if (result == nullptr) return nullptr;
|
||||
@@ -16,6 +13,8 @@ UFunction *UlxTangibleManager::GetAnimationQueueChanged(UClass *uclass) {
|
||||
}
|
||||
|
||||
UClass *UlxTangibleManager::GetTangibleClass(const FString &name) {
|
||||
UPackage *Pack = LoadObject<UPackage>(nullptr, TEXT("/Game/Tangibles"));
|
||||
UE_LOG(LogBlueprint, Verbose, TEXT("Pack=%ld"), int64(Pack));
|
||||
if (name.IsEmpty()) {
|
||||
return nullptr;
|
||||
}
|
||||
@@ -24,8 +23,10 @@ UClass *UlxTangibleManager::GetTangibleClass(const FString &name) {
|
||||
}
|
||||
|
||||
FString path(TEXT("/Game/Tangibles/"));
|
||||
path += TEXT("Tan");
|
||||
path += name;
|
||||
path += TCHAR('.');
|
||||
path += TEXT("Tan");
|
||||
path += name;
|
||||
path += TCHAR('_');
|
||||
path += TCHAR('C');
|
||||
|
||||
Reference in New Issue
Block a user