Make TangibleManager a UObject

This commit is contained in:
2023-09-25 14:25:24 -04:00
parent 982b6cab62
commit 2f5baf2e9f
8 changed files with 33 additions and 28 deletions

View File

@@ -42,7 +42,7 @@ static bool SetProperty(const FString& name, UObject* obj, const FlxAnimationFie
FDoubleProperty* fprop = FindFProperty<FDoubleProperty>(uclass, nname);
if (fprop == nullptr) return false;
double* pptr = fprop->ContainerPtrToValuePtr<double>(obj);
fprop->SetPropertyValue(pptr, field.X);
*pptr = field.X;
return true;
}
case ElxAnimValueType::BOOLEAN: {