Files
UnrealEngineUWP/Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/SmartObjectsModule.Build.cs
yoan stamant 5e375112b9 [SmartObject] added reasons to control the enabled states of smart objects:
- Gameplay tags are used to identify a reason
- Default reason "SmartObject.EnabledReason.Gameplay" is a tag (UE::SmartObject::EnabledReason::Gameplay) provided by the plugin and used by default if no other reason is specified
- Tags are converted to bit masks and stored as disable flags in runtime instance
- External systems can declare new Gameplay Tags for the specific needs. System currently allows 16 different reasons (1 default + 15 custom)
- A Smart Object  instance is considered disabled as soon as at least one reason is set
#rb Luciano.Ferraro, mikko.mononen

[CL 29989734 by yoan stamant in ue5-main branch]
2023-11-29 11:23:11 -05:00

42 lines
730 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class SmartObjectsModule : ModuleRules
{
public SmartObjectsModule(ReadOnlyTargetRules Target) : base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
}
);
PublicDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"DeveloperSettings",
"Engine",
"AIModule",
"GameplayTags",
"GameplayAbilities",
"RHI",
"StructUtils",
"WorldConditions",
"NavigationSystem",
"TargetingSystem"
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"RenderCore",
"InputCore"
}
);
SetupGameplayDebuggerSupport(Target);
}
}
}