Fix garbage collection unloading cog assets
This commit is contained in:
1 parent
f2d8311c90
commit
9f5431465b
12 files changed
+14
-13
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user