I was wondering if theres a difference between these two examples:
static ConstructorHelpers::FObjectFinder<UStaticMesh>MeshAsset(TEXT("StaticMesh'/Game/Sphere.Sphere'"));
UStaticMesh* Asset = MeshAsset.Object;
BuildingStaticMesh->SetStaticMesh(Asset);
Instead of :
static ConstructorHelpers::FObjectFinder<UStaticMesh>MeshAsset(TEXT("StaticMesh'/Game/Sphere.Sphere'"));
BuildingStaticMesh->SetStaticMesh(MeshAsset.Object);
Are these two the same or not?
Aucun commentaire:
Enregistrer un commentaire