vault backup: 2024-10-12 17:19:45

This commit is contained in:
2024-10-12 17:19:46 +08:00
parent ff94ddca61
commit 244c0c52f6
960 changed files with 31348 additions and 10 deletions

View File

@@ -0,0 +1,22 @@
# DisplayName
- **功能描述:** 更改函数参数在蓝图节点上的显示名字
- **元数据类型:** string="abc"
- **引擎模块:** Blueprint, Parameter
- **作用机制:** 在Meta中加入[DisplayName](../../../../Meta/Blueprint/DisplayName.md)
- **常用程度:** ★★★★★
注意UPARAM也可以用在返回值上默认值是ReturnValue。
## 测试代码:
```cpp
//(DisplayName = My Other Name)
UFUNCTION(BlueprintCallable)
UPARAM(DisplayName = "My Return String") FString MyFuncTestParam_DisplayName(UPARAM(DisplayName = "My Other Name") int value);
```
## 蓝图节点:
![Untitled](Untitled.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB