Skip to content

Instantly share code, notes, and snippets.

@Tesladev2323
Created August 23, 2018 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tesladev2323/cec1b5b56e1abc93cc71ddf7f3b864d8 to your computer and use it in GitHub Desktop.
Save Tesladev2323/cec1b5b56e1abc93cc71ddf7f3b864d8 to your computer and use it in GitHub Desktop.
[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