19 lines
446 B
Markdown
Raw Normal View History

2024-10-12 17:19:46 +08:00
# BlueprintCallable
- **功能描述:** 暴露到蓝图中可被调用
- **元数据类型:** bool
- **引擎模块:** Blueprint
- **作用机制:** 在FunctionFlags增加[FUNC_BlueprintCallable](../../../../Flags/EFunctionFlags/FUNC_BlueprintCallable.md)
- **常用程度:** ★★★★★
## 测试代码:
```cpp
UFUNCTION(BlueprintCallable)
void MyFunc_BlueprintCallable() {}
```
## 效果展示:
![Untitled](Untitled.png)