You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- StateTreeEditorMode, which now holds all of the state-tree editing behavior previously part of StateTreeEditor - StateTreeEditorModeToolkit, responsible for UI/widgets used by StateTreeEditorMode - StateTreeEditorModeUILayer used to host StateTreeEditorMode inside of the StateTreeEditor - Exposed StateTreeViewModel - Introduced IStateTreeEditorHost, interface to-be implemented for supporting StateTreeEditorMode within an Asset editor - Moved compilation/validation to UStateTreeEditingSubsystem (editor sub system) - Added layout extensions for StateTreeEditor #rb Patrick.Boutot [CL 35491719 by jurre debaare in ue5-main branch]
88 lines
1.8 KiB
C#
88 lines
1.8 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class StateTreeModule : ModuleRules
|
|
{
|
|
public StateTreeModule(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
UnsafeTypeCastWarningLevel = WarningLevel.Warning;
|
|
|
|
PublicIncludePaths.AddRange(
|
|
new string[] {
|
|
}
|
|
);
|
|
|
|
PublicDependencyModuleNames.AddRange(
|
|
new [] {
|
|
"Core",
|
|
"CoreUObject",
|
|
"DeveloperSettings",
|
|
"Engine",
|
|
"AIModule",
|
|
"GameplayTags"
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new [] {
|
|
"PropertyPath",
|
|
}
|
|
);
|
|
|
|
UnsafeTypeCastWarningLevel = WarningLevel.Error;
|
|
|
|
if (Target.bBuildEditor)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new [] {
|
|
"UnrealEd",
|
|
"BlueprintGraph",
|
|
}
|
|
);
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new [] {
|
|
"StructUtilsEditor",
|
|
"EditorSubsystem",
|
|
"EditorFramework"
|
|
}
|
|
);
|
|
}
|
|
|
|
// Allow debugger traces on all non-shipping targets and shipping editors (UEFN)
|
|
if (Target.Configuration != UnrealTargetConfiguration.Shipping || Target.bBuildEditor)
|
|
{
|
|
PublicDefinitions.Add("WITH_STATETREE_TRACE=1");
|
|
PublicDependencyModuleNames.AddRange(
|
|
new []
|
|
{
|
|
"TraceLog"
|
|
}
|
|
);
|
|
|
|
// Allow debugger trace analysis on editor platforms
|
|
if (Target.Platform.IsInGroup(UnrealPlatformGroup.Desktop) && Target.bBuildEditor)
|
|
{
|
|
PublicDefinitions.Add("WITH_STATETREE_TRACE_DEBUGGER=1");
|
|
PublicDependencyModuleNames.AddRange(
|
|
new []
|
|
{
|
|
"TraceServices",
|
|
"TraceAnalysis"
|
|
}
|
|
);
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_STATETREE_TRACE_DEBUGGER=0");
|
|
}
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_STATETREE_TRACE=0");
|
|
PublicDefinitions.Add("WITH_STATETREE_TRACE_DEBUGGER=0");
|
|
}
|
|
}
|
|
}
|
|
}
|