首页
首页
文章目录
  1. Lecture 91 - Adding Ceilings and Fixing Build Switch Debug
    1. Lecture 31 - Setting Up Hotbar Equip Item Part 2
    2. Lecture 15 - Creating the Inventory Component & Array

UE引擎-教程记错本


Lecture 91 - Adding Ceilings and Fixing Build Switch Debug

20231019
表现:天花板吸不到墙面的顶端,。
原因:在墙的蓝图中,配置的天花板的碰撞,选择错误。本来应该选择Bolck FloorTrace,选择成了它上面一行的FoundationTrace。

Lecture 31 - Setting Up Hotbar Equip Item Part 2

20230630
表现:装备斧头后,没有显示在手中,而是显示在了脚下。
原因:在骨骼中添加插槽时命名错误ToolSccket应为ToolSocket。视觉上又不明显。最后是通过打印比较出两个不同的

Lecture 15 - Creating the Inventory Component & Array

20230605
Find Empty Slot 返回一直是0号数组,函数写的是对的,函数比对的是Item ID是否是0。
表现是添加一个物品功能后一直是在添加第一个插槽,没有走到后面的插槽。
原因是添加的物品Item ID是0,因为函数比对的是Item ID是否是0,把Item ID修改为其他的就好了。