Level 1 fix
This commit is contained in:
parent
70f24eab32
commit
e255fee5e2
Binary file not shown.
Binary file not shown.
BIN
Content/Levels/Level_1/L_Level1.umap
(Stored with Git LFS)
BIN
Content/Levels/Level_1/L_Level1.umap
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Levels/Level_1/L_Level1_BuiltData.uasset
(Stored with Git LFS)
BIN
Content/Levels/Level_1/L_Level1_BuiltData.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Levels/Level_1/Materials/M_MonsterRedLevel1Scene4.uasset
(Stored with Git LFS)
BIN
Content/Levels/Level_1/Materials/M_MonsterRedLevel1Scene4.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Levels/Level_3/L_Level3.umap
(Stored with Git LFS)
BIN
Content/Levels/Level_3/L_Level3.umap
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Levels/Level_3/L_Level3_BuiltData.uasset
(Stored with Git LFS)
BIN
Content/Levels/Level_3/L_Level3_BuiltData.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Models/Nature/Flowers/Materials/MF_FlowersInteraction.uasset
(Stored with Git LFS)
BIN
Content/Models/Nature/Flowers/Materials/MF_FlowersInteraction.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Models/Nature/Flowers/Materials/M_LilyPetal.uasset
(Stored with Git LFS)
BIN
Content/Models/Nature/Flowers/Materials/M_LilyPetal.uasset
(Stored with Git LFS)
Binary file not shown.
@ -4,8 +4,10 @@
|
||||
#include "Level1.h"
|
||||
|
||||
#include "Atmosphere/AtmosphericFog.h"
|
||||
#include "Components/ExponentialHeightFogComponent.h"
|
||||
#include "Components/LightComponent.h"
|
||||
#include "Engine/DirectionalLight.h"
|
||||
#include "Engine/ExponentialHeightFog.h"
|
||||
#include "Engine/SkyLight.h"
|
||||
#include "LevelSequencePlayer.h"
|
||||
|
||||
@ -30,5 +32,8 @@ void ALevel1::TurnLight(bool show)
|
||||
void ALevel1::TurnFog(bool show)
|
||||
{
|
||||
if(fog->IsHidden() == show)
|
||||
{
|
||||
fog->SetActorHiddenInGame(!show);
|
||||
fog2->GetComponent()->SetVisibility(show);
|
||||
}
|
||||
}
|
||||
|
@ -23,5 +23,7 @@ protected:
|
||||
TSoftObjectPtr<class ADirectionalLight> directLight;
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
TSoftObjectPtr<class AAtmosphericFog> fog;
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
TSoftObjectPtr<class AExponentialHeightFog> fog2;
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user