alright im not so happy

This commit is contained in:
Milxnor
2023-05-12 17:50:58 -04:00
parent f41be934eb
commit bd87832147
21 changed files with 394 additions and 38 deletions

View File

@@ -32,6 +32,14 @@ public:
}
}
T* GetByWeakObject()
{
if (SoftObjectPtr.ObjectID.AssetPathName.ComparisonIndex.Value <= 0)
return nullptr;
return GetObjectByIndex(SoftObjectPtr.WeakPtr.ObjectIndex);
}
T* Get(UClass* ClassToLoad = nullptr, bool bTryToLoad = false)
{
if (Engine_Version <= 416)