This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void APlayerController::ReceivedSpectatorClass(TSubclassOf<ASpectatorPawn> SpectatorClass) | |
{ | |
if (IsInState(NAME_Spectating)) | |
{ | |
if (GetSpectatorPawn() == NULL) | |
{ | |
BeginSpectatingState(); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
${UE4_ENGINE_ROOT}/Engine/Build/BatchFiles/RunUAT.bat | |
-ScriptsForProject="/Path/To/YourProjec/YourProject.uproject" BuildCookRun -NoCompileEditor | |
-Verbose -UTF8Output -CrashReporter -nop4 -ue4exe="/Path/To/Engine/Binaries/Win64/UE4Editor-Cmd.exe" | |
-ScriptsForProject="/Path/To/YourProjec/YourProject.uproject" -cook -unversionedcookedcontent -pak -stage | |
-package -clientconfig="Development" -prereqs -targetplatform=${BUILD_PLATFORM} -build-UbtArgs="-LTCG -PGOProfile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="Seg1ClickMessage" bgColor="#555555FF" hoverColor="#FFFF0055" filePath="Blueprint'/Game/UMG/DialogueMsgTextTest/ButtonStyle/BP_DialogueBackgroundButtonStyle1.BP_DialogueBackgroundButtonStyle1'"> | |
<text color="#FF0000FF"> Test Click Seg1 </text> | |
</a> | |
<br /> | |
<a href="Seg2ClickMessage" bgColor="#FF0000FF" hoverColor="#FFFF0055" filePath="Blueprint'/Game/UMG/DialogueMsgTextTest/ButtonStyle/BP_DialogueBackgroundButtonStyle2'"> | |
<text color="#00FF00FF"> Test Click Seg2 </text> | |
</a> | |
<br /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Engine/Build/BatchFiles/RunUAT.bat | |
-ScriptsForProject="/Path/To/YourProjec/YourProject.uproject" BuildCookRun -NoCompileEditor | |
-Verbose -UTF8Output -CrashReporter -nop4 -ue4exe="/Path/To/Engine/Binaries/Win64/UE4Editor-Cmd.exe" | |
-ScriptsForProject="/Path/To/YourProjec/YourProject.uproject" -cook -unversionedcookedcontent -pak -stage | |
-package -clientconfig="Shipping" -prereqs -targetplatform="Switch" -distribution -nodebuginfo | |
-build -UbtArgs="-LTCG -PGOOptimize" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
${UE4_ENGINE_ROOT}/Engine/Build/BatchFiles/RunUAT.bat | |
RunUnreal -ScriptsForProject="/Path/To/YourProjec/YourProject.uproject" | |
-nop4 -nocompile -ScriptsForProject="/Path/To/YourProjec/YourProject.uproject" | |
-platform="Switch" -configuration="Development" | |
-test="YourProjectPGONode" -build="local" | |
-ProfileOutputDirectory="/Path/To/YourProject/Saved/PGO/Profile/Switch/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'MSBuild.exe' | |
'/Path/To/MyPorject/Build/Script/MyProject.Automation/MyProject.Automation.csproj' | |
/verbosity:quiet /nologo //target:Build /property:Configuration=Development /property:Platform=AnyCPU | |
/p:TreatWarningsAsErrors=false /p:BuildProjectReferences=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using AutomationTool; | |
using Gauntlet; | |
using UnrealBuildTool; | |
using System.Text.RegularExpressions; | |
namespace UE4Game |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-08-25T15:18:01.590Z","extensionVersion":"v3.4.2"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FMyWorldAsyncChecker : public FNonAbandonableTask | |
{ | |
public: | |
/** | |
* Constructor for async task | |
* @param InDataDeriver plugin to produce cache key and in the event of a miss, return the data. | |
* @param InCacheKey Complete cache key for this data. | |
**/ | |
FMyWorldAsyncChecker() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void AMyGameModeBase::OnSpectatorReady() | |
{ | |
++NumReadySpectator; | |
UE_LOG(LogTemp, Log, TEXT("OnSpectatorReady NumReadySpectator: %d"), NumReadySpectator); | |
} | |
void AMyGameModeBase::OnSpectatorLeave() | |
{ | |
--NumReadySpectator; |
NewerOlder