Files
netease-modsdk-wiki/docs/mcguide/20-玩法开发/12-可视化编程/10-新版逻辑编辑器使用说明/50-蓝图测试.md
2025-03-18 14:46:12 +08:00

32 lines
972 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
front:
hard: 入门
time: 5分钟
selection:
---
# 测试蓝图逻辑
当我们编写完蓝图逻辑,就可以进行测试,来检验我们的逻辑编写得是否正确。下面我们将演示蓝图的测试:
我们以一个挂在预加载空预设下的蓝图零件为例该蓝图的逻辑是每帧在日志窗口打印一句hello。
![](./images/new_docs/A43.png)
![](./images/new_docs/A44.png)
在.bp文件中编辑完蓝图的逻辑后首先需要点击保存按钮保存蓝图。
![](./images/new_docs/A45.png)
保存蓝图之后,我们点击运行按钮,即可在开发包中测试我们的蓝图逻辑:
![](./images/new_docs/A46.png)
初次进入时,可能需要等待较长的时间以完成加载。
![](./images/new_docs/A47.png)
进入游戏后会为我们自动打开调试工具窗口可以看到每帧都会打印一句hello证明该蓝图零件的逻辑已在游戏中生效。
![](./images/new_docs/A48.png)