Answers for "add a component into unreal enginge"

2

add component unreal engine

MyActor.c++ 

StaticMesh = CreateDefaultSubobject<UStaticMeshComponent>("Static Mesh");

MyActor.h
UPROPERTY(EditAnywhere, Category = "Components");
UStaticMeshComponent* BulletMesh;
Posted by: Guest on May-08-2021

Browse Popular Code Answers by Language