mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-23 07:57:52 +00:00
Fix garbage collection unloading cog assets
This commit is contained in:
@@ -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