vault backup: 2024-10-12 17:19:45
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# EarlyAccessPreview
|
||||
|
||||
- **功能描述:** 标明该类是早期预览版,比试验版要更完善一些,但还是没到产品级。
|
||||
- **引擎模块:** Development
|
||||
- **元数据类型:** bool
|
||||
- **作用机制:** 在Meta中添加[DevelopmentStatus](../../../../Meta/Development/DevelopmentStatus.md),将类标记为EarlyAccess
|
||||
- **常用程度:★★★**
|
||||
|
||||
标明该类是早期预览版,比试验版要更完善一些,但还是没到产品级。
|
||||
|
||||
这个标记会在类的元数据上加上{ "DevelopmentStatus", "EarlyAccess" }。
|
||||
|
||||
## 示例代码:
|
||||
|
||||
```cpp
|
||||
//(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() {}
|
||||
};
|
||||
```
|
||||
|
||||
## 示例结果:
|
||||
|
||||

|
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user