a LOT of time wasted fighting with dlls again
This commit is contained in:
@ -1,15 +1,14 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
using UnrealBuildTool;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class MyProjectTarget : TargetRules
|
||||
{
|
||||
public MyProjectTarget(TargetInfo Target) : base(Target)
|
||||
{
|
||||
Type = TargetType.Game;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V5;
|
||||
public MyProjectTarget(TargetInfo Target) : base(Target)
|
||||
{
|
||||
Type = TargetType.Game;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V5;
|
||||
|
||||
ExtraModuleNames.AddRange( new string[] { "MyProject" } );
|
||||
}
|
||||
ExtraModuleNames.AddRange(new string[] { "MyProject", "hstherac25" });
|
||||
}
|
||||
}
|
||||
|
@ -4,20 +4,20 @@ using UnrealBuildTool;
|
||||
|
||||
public class MyProject : ModuleRules
|
||||
{
|
||||
public MyProject(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
|
||||
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "UMG" });
|
||||
public MyProject(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(new string[] { });
|
||||
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "UMG" });
|
||||
|
||||
// Uncomment if you are using Slate UI
|
||||
PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
|
||||
|
||||
// Uncomment if you are using online features
|
||||
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
|
||||
PrivateDependencyModuleNames.AddRange(new string[] { });
|
||||
|
||||
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
|
||||
}
|
||||
// Uncomment if you are using Slate UI
|
||||
PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore", "hstherac25" });
|
||||
|
||||
// Uncomment if you are using online features
|
||||
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
|
||||
|
||||
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ void UMyUserWidget::NativeOnInitialized() {
|
||||
CR_TextBlock,
|
||||
ColX_TextBlock,
|
||||
ColY_TextBlock,
|
||||
WR_TextBlock,
|
||||
WN_TextBlock,
|
||||
AN_TextBlock
|
||||
};
|
||||
for (auto * n : arcaneNumbers) {
|
||||
|
@ -40,10 +40,10 @@ class MYPROJECT_API UMyUserWidget : public UUserWidget {
|
||||
UTextBlock * ColY_TextBlock;
|
||||
|
||||
UPROPERTY(meta = (BindWidget))
|
||||
UTextBlock * WR_TextBlock;
|
||||
UTextBlock * WN_TextBlock;
|
||||
|
||||
UPROPERTY(meta = (BindWidget))
|
||||
UTextBlock * AN_TextBlock;
|
||||
|
||||
void NativeOnInitialized() override;
|
||||
void NativeOnInitialized() override;
|
||||
};
|
||||
|
@ -1,15 +1,14 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
using UnrealBuildTool;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class MyProjectEditorTarget : TargetRules
|
||||
{
|
||||
public MyProjectEditorTarget(TargetInfo Target) : base(Target)
|
||||
{
|
||||
Type = TargetType.Editor;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V5;
|
||||
public MyProjectEditorTarget(TargetInfo Target) : base(Target)
|
||||
{
|
||||
Type = TargetType.Editor;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V5;
|
||||
|
||||
ExtraModuleNames.AddRange( new string[] { "MyProject" } );
|
||||
}
|
||||
ExtraModuleNames.AddRange(new string[] { "MyProject", "hstherac25" });
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user