请问这段蓝图写成代码要如何写呢?
[mw_shl_code=cpp,false]AMyActor::AMyActor(UTexture2D* PickUpTexture, class Actor* PickUpClass, FString PickUpName)
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
PickUpTexture = PickUpTexture;
PickUpClass =
PickUpName = PickUpName;
PickUpMesh = CreateDefaultSubobject<UStaticMeshComponent>(FName("PickUpMesh1"));
}[/mw_shl_code]
那两个PickUpTexture连起来,请问是赋值的意思还是==的意思呢?感谢。
|