From 64b2c8e934986d7828447305d4c564b46261176b Mon Sep 17 00:00:00 2001 From: Jamie Greunbaum Date: Tue, 3 Oct 2023 01:54:42 -0400 Subject: [PATCH] Fixed up some description text. --- Source/ComboInput/Public/ComboActionGraph.h | 10 +++++----- Source/ComboInputEditor/Private/ComboInputEditor.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/ComboInput/Public/ComboActionGraph.h b/Source/ComboInput/Public/ComboActionGraph.h index 88555ef..9066700 100644 --- a/Source/ComboInput/Public/ComboActionGraph.h +++ b/Source/ComboInput/Public/ComboActionGraph.h @@ -30,16 +30,16 @@ public: protected: /** - * GUID for this Mountea Dialogue Graph. - *❗ Unique identifier for this Dialogue Graph instance. - *❔ Can be used for debugging and tracing purposes. + * Unique GUID for this graph. + * Can be used for debugging and tracing purposes. */ UPROPERTY(BlueprintReadOnly, Category="Combo Input") FGuid GraphGUID; public: - - // Pointer to the starting node of the dialogue graph. + /** + * Pointer to the starting node of the dialogue graph. + */ UPROPERTY(BlueprintReadOnly, Category="Combo Input|Action") class UComboActionGraphNode *StartNode = nullptr; /** diff --git a/Source/ComboInputEditor/Private/ComboInputEditor.cpp b/Source/ComboInputEditor/Private/ComboInputEditor.cpp index 8e00f42..89eb08f 100644 --- a/Source/ComboInputEditor/Private/ComboInputEditor.cpp +++ b/Source/ComboInputEditor/Private/ComboInputEditor.cpp @@ -42,7 +42,7 @@ public: virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_ComboInputAsset", "Combo Input Asset"); } virtual uint32 GetCategories() override { return FComboInputEditorModule::GetInputAssetsCategory(); } virtual FColor GetTypeColor() const override { return FColor(255, 127, 255); } - virtual FText GetAssetDescription(const FAssetData &AssetData) const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_ComboInputAssetDesc", "This maps a sequence of button inputs from EnhancedInput to a combo action that can be used to execute a sequence of moves. This gets sent from the input buffer subsystem to the player controller's ComboManagerComponent, which executes the associated action in the current ComboSequenceNode."); } + virtual FText GetAssetDescription(const FAssetData &AssetData) const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_ComboInputAssetDesc", "This maps a sequence of button inputs from EnhancedInput to a combo action that can be used to execute a sequence of moves. This gets sent from the input buffer subsystem to the player controller's ComboManagerComponent, which executes the associated action in the current ComboActionGraph."); } virtual UClass *GetSupportedClass() const override { return UComboInputAsset::StaticClass(); } }; @@ -52,7 +52,7 @@ public: virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_ComboActionGraph", "Combo Action Graph"); } virtual uint32 GetCategories() override { return FComboInputEditorModule::GetInputAssetsCategory(); } virtual FColor GetTypeColor() const override { return FColor(255, 127, 255); } - virtual FText GetAssetDescription(const FAssetData &AssetData) const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_ComboActionGraphDesc", "This maps a sequence of button inputs from EnhancedInput to a combo action that can be used to execute a sequence of moves. This gets sent from the input buffer subsystem to the player controller's ComboManagerComponent, which executes the associated action in the current ComboSequenceNode."); } + virtual FText GetAssetDescription(const FAssetData &AssetData) const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_ComboActionGraphDesc", "A node graph containing a sequence of combo actions. Each node can respond to any number of combo inputs, and when activated will execute the associated event."); } virtual UClass *GetSupportedClass() const override { return UComboActionGraph::StaticClass(); } virtual void OpenAssetEditor(const TArray &InObjects, TSharedPtr EditWithinLevelEditor = TSharedPtr()) override