错误现象如下,创建的属性字段,无法在编辑器中进行编辑
初步排查以为是c++属性字段的宏设置问题,截图如下
USTRUCT(BlueprintType)
struct FTimePropertyConfig : public FTableRowBase
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite,Category = "SkySystemLib|Time")
FString ElementName;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "SkySystemLib|Time")
float TimeValue;
};
把属性Category里的|Time
删除就可以修复这个问题,猜测是不是引擎的bug哦
USTRUCT(BlueprintType)
struct FTimePropertyConfig : public FTableRowBase
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite,Category = "SkySystemLib")
FString ElementName;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "SkySystemLib")
float TimeValue;
};