更新显示鱼市按钮
This commit is contained in:
parent
d5b1e8b304
commit
7929dfa4f2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -487,6 +487,8 @@ public:
|
|||||||
TSubclassOf<class UTutorialControlWidget_Base> TutorialControlUIClass;
|
TSubclassOf<class UTutorialControlWidget_Base> TutorialControlUIClass;
|
||||||
UPROPERTY(EditAnywhere, BlueprintReadOnly)
|
UPROPERTY(EditAnywhere, BlueprintReadOnly)
|
||||||
TArray<FName> HiddenUINames;
|
TArray<FName> HiddenUINames;
|
||||||
|
// UPROPERTY(EditAnywhere, BlueprintReadOnly)
|
||||||
|
// TArray<FName> ShowUINames;
|
||||||
};
|
};
|
||||||
|
|
||||||
USTRUCT(BlueprintType)
|
USTRUCT(BlueprintType)
|
||||||
|
|||||||
@ -152,7 +152,8 @@ void UTutorialManagerSubsystem::ControlUI()
|
|||||||
UWidgetBlueprintLibrary::GetAllWidgetsOfClass(this, FoundWidgets, ControlParam.TutorialControlUIClass, false);
|
UWidgetBlueprintLibrary::GetAllWidgetsOfClass(this, FoundWidgets, ControlParam.TutorialControlUIClass, false);
|
||||||
for (auto Widget: FoundWidgets)
|
for (auto Widget: FoundWidgets)
|
||||||
{
|
{
|
||||||
Cast<UTutorialControlWidget_Base>(Widget)->TutorialHidenUI(ControlParam.HiddenUINames);
|
Cast<UTutorialControlWidget_Base>(Widget)->TutorialHideUI(ControlParam.HiddenUINames);
|
||||||
|
//Cast<UTutorialControlWidget_Base>(Widget)->TutorialShowUI(ControlParam.ShowUINames);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,15 @@
|
|||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
|
||||||
|
#include "TutorialTask_CheckShipContainer.h"
|
||||||
|
|
||||||
|
void UTutorialTask_CheckShipContainer::Execute_Implementation(class AGameModeBase* GameMode)
|
||||||
|
{
|
||||||
|
Super::Execute_Implementation(GameMode);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void UTutorialTask_CheckShipContainer::BeforTutorialComplete_Implementation()
|
||||||
|
{
|
||||||
|
Super::BeforTutorialComplete_Implementation();
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "CoreMinimal.h"
|
||||||
|
#include "TutorialTask_Base.h"
|
||||||
|
#include "TutorialTask_CheckShipContainer.generated.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
UCLASS()
|
||||||
|
class PROJECTFISH_API UTutorialTask_CheckShipContainer : public UTutorialTask_Base
|
||||||
|
{
|
||||||
|
GENERATED_BODY()
|
||||||
|
virtual void Execute_Implementation(class AGameModeBase* GameMode) override;
|
||||||
|
|
||||||
|
virtual void BeforTutorialComplete_Implementation() override;
|
||||||
|
};
|
||||||
@ -16,5 +16,7 @@ class PROJECTFISH_API UTutorialControlWidget_Base : public UUserWidget
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
UFUNCTION(BlueprintImplementableEvent)
|
UFUNCTION(BlueprintImplementableEvent)
|
||||||
void TutorialHidenUI(const TArray<FName>& HiddenNames);
|
void TutorialHideUI(const TArray<FName>& UINames);
|
||||||
|
// UFUNCTION(BlueprintImplementableEvent)
|
||||||
|
// void TutorialShowUI(const TArray<FName>& UINames);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user