Compare commits
No commits in common. "f37574f0dce535501ad4f39a470a391f231898b4" and "9625075c1926e76c571dbb41484c3d27333be034" have entirely different histories.
f37574f0dc
...
9625075c19
BIN
Content/Blueprints/GameMode/BP_ToonTanksGameMode.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/GameMode/BP_ToonTanksGameMode.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Widgets/WBP_StartGameWidget.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Widgets/WBP_StartGameWidget.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Maps/Main.umap
(Stored with Git LFS)
BIN
Content/Maps/Main.umap
(Stored with Git LFS)
Binary file not shown.
@ -29,7 +29,6 @@ void AToonTanksGameMode::HandleGameStart()
|
|||||||
{
|
{
|
||||||
Tank = Cast<ATank>(UGameplayStatics::GetPlayerPawn(this, 0));
|
Tank = Cast<ATank>(UGameplayStatics::GetPlayerPawn(this, 0));
|
||||||
PlayerController = Cast<AToonTanksPlayerController>(UGameplayStatics::GetPlayerController(this, 0));
|
PlayerController = Cast<AToonTanksPlayerController>(UGameplayStatics::GetPlayerController(this, 0));
|
||||||
StartGame();
|
|
||||||
if (PlayerController)
|
if (PlayerController)
|
||||||
{
|
{
|
||||||
PlayerController->SetPlayerEnabledState(false);
|
PlayerController->SetPlayerEnabledState(false);
|
||||||
|
@ -21,10 +21,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void BeginPlay() override;
|
virtual void BeginPlay() override;
|
||||||
|
|
||||||
// function for Start Game Blueprint Event
|
|
||||||
UFUNCTION(BlueprintImplementableEvent)
|
|
||||||
void StartGame();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Tank Pointer for DeadActor which is ATank.
|
// Tank Pointer for DeadActor which is ATank.
|
||||||
UPROPERTY()
|
UPROPERTY()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user