新建 Blueprint Interface , 改名字为 BPI_EditorTick
在BPI_EditorTick里面,把Functions的名字给改了,改成EditorTick
勾选 call in editor
选择 Editor Utility Actor 类型
改名字为 BP_EditorTicker
双击打开蓝图之后,点击Class Defaults
打开这个,allow tick Before Begin Play
打开 Tick Even when Paused
打开 Is Editor Only Actor
进入construction script
添加变量
设置float类型
设置默认值
按照下面的连一连
清晰一点的图片
construction script, 添加 Add Child Actor Component, 选择 BP_EditorTicker
在Class Settings 设置 Interfaces 为 BPI_EditorTick
在 Event Graph 里面使用