Fix garbage collection unloading cog assets

This commit is contained in:
Arnaud Jamin
2023-10-21 01:28:54 -04:00
parent f2d8311c90
commit 9f5431465b
12 changed files with 14 additions and 13 deletions
@@ -39,7 +39,7 @@ private:
float RepeatTime = 0.0f;
UPROPERTY()
TWeakObjectPtr<const UCogInputDataAsset> Asset = nullptr;
TObjectPtr<const UCogInputDataAsset> Asset = nullptr;
TArray<FCogInjectActionInfo> Actions;
};
@@ -76,7 +76,7 @@ private:
float RepeatPeriod = 0.5f;
UPROPERTY()
TWeakObjectPtr<const UCogInputDataAsset> Asset;
TObjectPtr<const UCogInputDataAsset> Asset;
TMap<FKey, FCogInjectActionInfo> Actions;