59. Message Widget
This commit is contained in:
		| @@ -232,8 +232,7 @@ void AGasaGameMode::HandleSeamlessTravelPlayer(AController*& Controller) | ||||
|  | ||||
| void AGasaGameMode::InitializeHUDForPlayer_Implementation(APlayerController* NewPlayer) | ||||
| { | ||||
| 	// Super::InitializeHUDForPlayer_Implementation(NewPlayer); | ||||
| 	NewPlayer->ClientSetHUD(HUDClass); | ||||
| 	Super::InitializeHUDForPlayer_Implementation(NewPlayer); | ||||
| } | ||||
|  | ||||
| void AGasaGameMode::InitSeamlessTravelPlayer(AController* NewController) | ||||
|   | ||||
| @@ -19,6 +19,7 @@ | ||||
| #include "GasaGameInstance.h" | ||||
| #include "GasaGameState.h" | ||||
| #include "GasaPlayerState.h" | ||||
| #include "AbilitySystem/GasaAbilitySystemComponent.h" | ||||
| #include "Actors/CameraMount.h" | ||||
| #include "UI/GasaHUD.h" | ||||
| #include "UI/WidgetController.h" | ||||
| @@ -75,7 +76,8 @@ void AGasaPlayerController::NetOwner_OnReady() | ||||
| 	{ | ||||
| 		PlayerChar->AbilitySystem = PS->AbilitySystem; | ||||
| 		PlayerChar->Attributes    = PS->Attributes; | ||||
| 		PlayerChar->AbilitySystem->InitAbilityActorInfo(PS, this); | ||||
| 		PS->AbilitySystem->InitAbilityActorInfo(PS, PlayerChar); | ||||
| 		Cast<UGasaAbilitySystemComp>(PS->AbilitySystem)->OnAbilityActorInfoSet(); | ||||
| 	} | ||||
| 	Cam->AttachToActor(PlayerChar, FAttachmentTransformRules::KeepRelativeTransform); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user