1.0 KiB
Raw Permalink Blame History

EarlyAccessPreview

  • 功能描述: 标明该类是早期预览版,比试验版要更完善一些,但还是没到产品级。
  • 引擎模块: Development
  • 元数据类型: bool
  • 作用机制: 在Meta中添加DevelopmentStatus将类标记为EarlyAccess
  • 常用程度:★★★

标明该类是早期预览版,比试验版要更完善一些,但还是没到产品级。

这个标记会在类的元数据上加上{ "DevelopmentStatus", "EarlyAccess" }。

示例代码:

//(BlueprintType = true, DevelopmentStatus = EarlyAccess, IncludePath = Class/Display/MyClass_Deprecated.h, IsBlueprintBase = true, ModuleRelativePath = Class/Display/MyClass_Deprecated.h)
UCLASS(Blueprintable, EarlyAccessPreview)
class INSIDER_API UMyClass_EarlyAccessPreview :public UObject
{
	GENERATED_BODY()
public:
	UPROPERTY(EditAnywhere, BlueprintReadWrite)
		int32 MyProperty;
	UFUNCTION(BlueprintCallable)
		void MyFunc() {}
};

示例结果:

Untitled