Source/Pickup/CubeToHurt.cpp
// Called when the game starts or when spawned

Called when the game starts or when spawned
Called when the game starts or when spawned
void ACubeToHurt::BeginPlay()
{
	Super::BeginPlay();
	if(BoxMesh) BoxMesh->SetMaterial(0, material3);
}
void ACubeToHurt :: BeginPlay ( ) { Super :: BeginPlay ( ) ; if ( BoxMesh ) BoxMesh -> SetMaterial ( 0 , material3 ) ; }
Called when the game starts or when spawned
Called when the game starts or when spawned