Compare commits

...

4 Commits

Author SHA1 Message Date
9cf66d29ca 添加击败敌人后的鱼获UI 2025-10-14 19:06:06 +08:00
1d06510bf7 删除exe文件 ignore 2025-10-14 15:54:45 +08:00
6c1571fa4c 添加鱼获配置 2025-10-14 15:54:07 +08:00
0fb5705210 鱼类资源中配置鱼获资源 2025-10-13 20:18:00 +08:00
27 changed files with 24 additions and 6 deletions

2
.gitignore vendored
View File

@ -27,7 +27,6 @@
*.lib *.lib
# Executables # Executables
*.exe
*.out *.out
*.app *.app
*.ipa *.ipa
@ -113,3 +112,4 @@ DerivedDataCache/*
/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.pdb /ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.pdb
/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFishEditor.pdb /ProjectFish/Binaries/Win64/UnrealEditor-ProjectFishEditor.pdb
/ProjectFish/Binaries/Win64/*.exp /ProjectFish/Binaries/Win64/*.exp
/ProjectFish/Plugins/DeskMode/Intermediate

View File

@ -2,7 +2,7 @@
"BuildId": "37670630", "BuildId": "37670630",
"Modules": "Modules":
{ {
"ProjectFish": "UnrealEditor-ProjectFish-0001.dll", "ProjectFish": "UnrealEditor-ProjectFish.dll",
"ProjectFishEditor": "UnrealEditor-ProjectFishEditor-0001.dll" "ProjectFishEditor": "UnrealEditor-ProjectFishEditor.dll"
} }
} }

View File

@ -5,3 +5,17 @@ ProjectName=Top Down Game Template
[/Script/ProjectFish.ProjectFishCharacter] [/Script/ProjectFish.ProjectFishCharacter]
FixedCameraPitch=-45.0 FixedCameraPitch=-45.0
FixedCameraDistance=1500.0 FixedCameraDistance=1500.0
[/Script/Engine.AssetManagerSettings]
-PrimaryAssetTypesToScan=(PrimaryAssetType="Map",AssetBaseClass=/Script/Engine.World,bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game/Maps")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
-PrimaryAssetTypesToScan=(PrimaryAssetType="PrimaryAssetLabel",AssetBaseClass=/Script/Engine.PrimaryAssetLabel,bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
+PrimaryAssetTypesToScan=(PrimaryAssetType="Map",AssetBaseClass="/Script/Engine.World",bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game/Maps")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
+PrimaryAssetTypesToScan=(PrimaryAssetType="PrimaryAssetLabel",AssetBaseClass="/Script/Engine.PrimaryAssetLabel",bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
+PrimaryAssetTypesToScan=(PrimaryAssetType="FishingRewardDataAsset",AssetBaseClass="/Script/ProjectFish.FishingRewardDataAsset",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/DataAssets/FishReward")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
bOnlyCookProductionAssets=False
bShouldManagerDetermineTypeAndName=False
bShouldGuessTypeAndNameInEditor=True
bShouldAcquireMissingChunksOnLoad=False
bShouldWarnAboutInvalidAssets=True
MetaDataTagsForAssetRegistry=()

Binary file not shown.

View File

@ -2,6 +2,6 @@
"BuildId": "37670630", "BuildId": "37670630",
"Modules": "Modules":
{ {
"DeskMode": "UnrealEditor-DeskMode-0001.dll" "DeskMode": "UnrealEditor-DeskMode.dll"
} }
} }

View File

@ -3,6 +3,7 @@
#pragma once #pragma once
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "FishingRewardDataAsset.h"
#include "Engine/DataAsset.h" #include "Engine/DataAsset.h"
#include "FishInfoConfigAsset.generated.h" #include "FishInfoConfigAsset.generated.h"
@ -31,4 +32,7 @@ public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = fish, meta = (ToolTip = "韧性归零时的眩晕时长")) UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = fish, meta = (ToolTip = "韧性归零时的眩晕时长"))
int32 StunTime; int32 StunTime;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = fish, meta = (ToolTip = "击败后的鱼获配置", AllowedClasses = "FishingRewardDataAsset"))
TArray<FPrimaryAssetId> Rewards;
}; };

View File

@ -24,8 +24,8 @@ public:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Fishing Reward Data" , meta = (ToolTip = "鱼获名称")) UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Fishing Reward Data" , meta = (ToolTip = "鱼获名称"))
FText RewardName; FText RewardName;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Fishing Reward Data" , meta = (AllowedClasses = "Texture2D", ToolTip = "鱼获图片") ) UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Fishing Reward Data" , meta = (ToolTip = "鱼获图片") )
FSoftObjectPath RewardTexture; UTexture2D* RewardTexture;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Fishing Reward Data" , meta = (ToolTip = "鱼获重量")) UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Fishing Reward Data" , meta = (ToolTip = "鱼获重量"))
float RewardWeight; float RewardWeight;