Skip to content

Instantly share code, notes, and snippets.

@Tesladev2323

Tesladev2323/PlayerCamera.h Secret

Created Aug 23, 2018
Embed
What would you like to do?
[End Result] Classic Camera C++ - PlayerCamera.h
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Camera/CameraActor.h"
#include "PlayerCamera.generated.h"
/**
*
*/
UCLASS()
class CLASSICCAMERATUT_API APlayerCamera : public ACameraActor
{
GENERATED_BODY()
public:
// Constructor
APlayerCamera();
// Begin Play
virtual void BeginPlay() override;
// Properties
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Camera Settings")
bool StartingCamera;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.