Bugfix Hard Reference for GunEffect not Saving
This commit is contained in:
parent
8cf4d1d52e
commit
7a715c2e55
BIN
Content/Assets/Objects/Blue_Jelly/Material_001.uasset
(Stored with Git LFS)
BIN
Content/Assets/Objects/Blue_Jelly/Material_001.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Assets/Objects/Red_Jelly/Material_001.uasset
(Stored with Git LFS)
BIN
Content/Assets/Objects/Red_Jelly/Material_001.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/CombatCharacter.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/CombatCharacter.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Player/BP_MyTempCharacter.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Player/BP_MyTempCharacter.uasset
(Stored with Git LFS)
Binary file not shown.
@ -15,6 +15,11 @@ UHoldToInitCombat::UHoldToInitCombat()
|
||||
static ConstructorHelpers::FClassFinder<UUserWidget> HUDWidgetClass(TEXT("/Game/Blueprints/Combat_UI/CombatInit"));
|
||||
InitCombatWidgetClass = HUDWidgetClass.Class;
|
||||
}
|
||||
if (GunEffect == nullptr)
|
||||
{
|
||||
static ConstructorHelpers::FObjectFinder<UNiagaraSystem> GunEffectAsset(TEXT("/Game/Blueprints/Combat_UI/NS_GunEffect"));
|
||||
GunEffect = GunEffectAsset.Object;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@ public:
|
||||
UPROPERTY()
|
||||
TSubclassOf<UUserWidget> InitCombatWidgetClass;
|
||||
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
UPROPERTY()
|
||||
UNiagaraSystem* GunEffect;
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user