コード例 #1
0
// Called when the game starts
void UGrabber::BeginPlay()
{
	Super::BeginPlay();
	FindPhysicsHandleComponent();
	SetupInputComponent();
	UE_LOG(LogTemp, Warning, TEXT("Grabber here lol!"));	
}
コード例 #2
0
ファイル: Grabber.cpp プロジェクト: OhShiGames/BuildingEscape
// Called when the game starts
void UGrabber::BeginPlay()
{
	Super::BeginPlay();

	FindPhysicsHandle();
	SetupInputComponent();
}
コード例 #3
0
// Called when the game starts
void UGrabber::BeginPlay()
{
	Super::BeginPlay();
	
	FindPhysicsHandle();

	SetupInputComponent();
	
	UE_LOG(LogTemp, Warning, TEXT("grabber online"));

	// ...
	
}
コード例 #4
0
AMapPlayerController::AMapPlayerController(const FObjectInitializer & PCIP) : Super(PCIP), CameraMoveDistance(20), CameraZoomDistance(50), CameraDragDeadZone(10)
{
  SetupInputComponent();
}
コード例 #5
0
ファイル: Grabber.cpp プロジェクト: RandomLizard/Section_03
// Called when the game starts
void UGrabber::BeginPlay()
{
	Super::BeginPlay();
	FindPhysicsHandleComponent(); //Error checking - Making sure physics handle component is included in the actor
	SetupInputComponent();
}