More progress on variables
This commit is contained in:
@@ -476,6 +476,12 @@ TArray<UBlueprint*> WingUtils::GetAncestorBlueprints(UBlueprint *BP, bool Oldest
|
||||
return Blueprints;
|
||||
}
|
||||
|
||||
UObject *WingUtils::GetGeneratedCDO(UBlueprint *BP)
|
||||
{
|
||||
if (BP->GeneratedClass == nullptr) return nullptr;
|
||||
return BP->GeneratedClass->GetDefaultObject();
|
||||
}
|
||||
|
||||
// ============================================================
|
||||
// Material helpers
|
||||
// ============================================================
|
||||
|
||||
Reference in New Issue
Block a user