gas 基础

This commit is contained in:
2023-07-16 16:38:00 +08:00
parent 5af80fe929
commit c5985794c3
9 changed files with 81 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "TGAbilitySystemComponent.h"

View File

@@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "TGAttributeSet.h"

View File

@@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "TGGameplayAbility.h"

View File

@@ -0,0 +1,17 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "AbilitySystemComponent.h"
#include "TGAbilitySystemComponent.generated.h"
/**
*
*/
UCLASS()
class TG_ARPG_API UTGAbilitySystemComponent : public UAbilitySystemComponent
{
GENERATED_BODY()
};

View File

@@ -0,0 +1,17 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "AttributeSet.h"
#include "TGAttributeSet.generated.h"
/**
*
*/
UCLASS()
class TG_ARPG_API UTGAttributeSet : public UAttributeSet
{
GENERATED_BODY()
};

View File

@@ -0,0 +1,17 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Abilities/GameplayAbility.h"
#include "TGGameplayAbility.generated.h"
/**
*
*/
UCLASS()
class TG_ARPG_API UTGGameplayAbility : public UGameplayAbility
{
GENERATED_BODY()
};

View File

@@ -8,6 +8,6 @@ public class TG_ARPG : ModuleRules
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", "EnhancedInput" });
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", "EnhancedInput","GameplayAbilities", "GameplayTags", "GameplayTasks" });
}
}