You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
469 B
25 lines
469 B
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/PlayerStart.h"
|
|
#include "MyPlayerStart.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class TURNBASEDTUTORIAL_API AMyPlayerStart : public APlayerStart
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
|
|
uint8 GetPlayerIndex() const;
|
|
|
|
protected:
|
|
private:
|
|
UPROPERTY(EditAnywhere, Category="Spawn Info")
|
|
uint8 PlayerIndex=0;
|
|
};
|