CogEngine: Fix and improve Plot window

CogEngine: Fix and improve the Plot window
- Fix ImPlot assert
- Improve UI

CogSample:
-  Add Inputs and AnimNotify plot events
- Fix ability system warning
This commit is contained in:
Arnaud Jamin
2025-01-11 00:31:53 -05:00
parent 269f8ae469
commit 2f1361a412
12 changed files with 482 additions and 130 deletions
+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include "CoreMinimal.h"
#include "Animation/AnimNotifies/AnimNotify.h"
#include "CogSampleAnimNotify.generated.h"
UCLASS()
class UCogSampleAnimNotify : public UAnimNotify
{
GENERATED_BODY()
public:
UCogSampleAnimNotify(const FObjectInitializer& ObjectInitializer);
UFUNCTION(BlueprintNativeEvent)
FString GetDebugInfo() const;
void Notify(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, const FAnimNotifyEventReference& EventReference) override;
void BranchingPointNotify(FBranchingPointNotifyPayload& BranchingPointPayload) override;
};