fix menu
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "RailwayCarriage.h"
|
||||
#include "Components/StaticMeshComponent.h"
|
||||
#include "Components/SphereComponent.h"
|
||||
|
||||
|
||||
// Sets default values
|
||||
ARailwayCarriage::ARailwayCarriage()
|
||||
@@ -25,6 +27,10 @@ ARailwayCarriage::ARailwayCarriage()
|
||||
wheel_3 = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("wheel_3"));
|
||||
wheel_3->AttachTo(railwayBody);
|
||||
|
||||
// support to focus component
|
||||
//sphere_0 = CreateDefaultSubobject<USphereComponent>(TEXT("sphereForWheelFocus"));
|
||||
//sphere_0->SetupAttachment(wheel_0);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
#include "GameFramework/Actor.h"
|
||||
#include "RailwayCarriage.generated.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
UCLASS()
|
||||
class RAILWAYWORKER_API ARailwayCarriage : public AActor
|
||||
{
|
||||
@@ -36,8 +40,29 @@ protected:
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category ="Location")
|
||||
FVector oldLocation;
|
||||
|
||||
|
||||
// name railway carriage
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "Name")
|
||||
FName nameCarriage;
|
||||
|
||||
// components to focus camera
|
||||
|
||||
//UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent")
|
||||
// USphereComponent* sphere_0;
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent")
|
||||
UStaticMeshComponent* sphere_1;
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent")
|
||||
UStaticMeshComponent* sphere_;
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent")
|
||||
UStaticMeshComponent* sphere_3;
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent")
|
||||
UStaticMeshComponent* sphere_4;
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent")
|
||||
UStaticMeshComponent* sphere_5;
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent")
|
||||
UStaticMeshComponent* sphere_6;
|
||||
UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent")
|
||||
UStaticMeshComponent* sphere_7;
|
||||
|
||||
|
||||
public:
|
||||
// Called every frame
|
||||
|
||||
Reference in New Issue
Block a user