美文网首页
04 - Checkpoint Variables &

04 - Checkpoint Variables &

作者: 镜月s | 来源:发表于2017-07-26 15:33 被阅读5次

编辑Tracker蓝图 作用是提供一些参数供外部自定义 游戏的内容 同时控制检查点的显示

添加Billboard component 用来在场景中显示图标

添加变量用来在外部进行自定义设置 其中LevelMusic 和CheckpointSoundFx的类型是Ambiend sound  

Checkpoints为蓝图类Checkpoint引用数组 (数组属性可以通过修改VariableType 右侧的图标)

添加函数UpdateTimes 更新变量数据到PlayerController中

函数LapCheck 单圈检测 input为检测点数

函数ActiveCheckpoint  激活指定的检测点 输入为Checkpoint引用

函数RaceComplete  判断是否跑完全程 输出为bool类型

相关文章

网友评论

      本文标题:04 - Checkpoint Variables &

      本文链接:https://www.haomeiwen.com/subject/szqokxtx.html