Skip to content

Instantly share code, notes, and snippets.

@Tesladev2323
Created August 23, 2018 10:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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