diff --git a/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/SpineSkeletonAnimationComponent.h b/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/SpineSkeletonAnimationComponent.h index 53d0d5b4f..3cc75fe78 100644 --- a/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/SpineSkeletonAnimationComponent.h +++ b/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/SpineSkeletonAnimationComponent.h @@ -192,7 +192,7 @@ public: float getAnimationDuration() { return entry ? entry->getAnimation()->getDuration() : 0; } UFUNCTION(BlueprintCallable, Category = "Components|Spine|TrackEntry") - float isValidAnimation() { return entry != nullptr; } + bool isValidAnimation() { return entry != nullptr; } UPROPERTY(BlueprintAssignable, Category = "Components|Spine|TrackEntry") FSpineAnimationStartDelegate AnimationStart;