GameProjectUtils::UpdateSupportedTargetPlatforms

Update the list of supported target platforms based upon the parameters provided This will take care of checking out and saving the updated .uproject file automatically

Unreal Engine C++ API Reference > Editor > GameProjectGeneration > GameProjectUtils

References

   
Module GameProjectGeneration
Header /Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h
Include #include "GameProjectUtils.h"
Source /Engine/Source/Editor/GameProjectGeneration/Private/GameProjectUtils.cpp
static void UpdateSupportedTargetPlatforms
(
    const [FName](API\Runtime\Core\UObject\FName) & InPlatformName,
    const bool bIsSupported
)

Remarks

Update the list of supported target platforms based upon the parameters provided This will take care of checking out and saving the updated .uproject file automatically

Parameters

Name Description
InPlatformName Name of the platform to target (eg, WindowsClient)
bIsSupported true if the platform should be supported by this project, false if it should not

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library