mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-20 23:46:49 +00:00
Add CogSample own BTTask to implement a custom description
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "CogSampleBTTask_BlueprintBase.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
FString UCogSampleBTTask_BlueprintBase::GetStaticDescription() const
|
||||
{
|
||||
FString CustomDescripton = GetCustomStaticDescription();
|
||||
|
||||
if (CustomDescripton.IsEmpty() == false)
|
||||
{
|
||||
return CustomDescripton;
|
||||
}
|
||||
|
||||
return Super::GetStaticDescription();
|
||||
}
|
||||
Reference in New Issue
Block a user