ActionRpg https://docs.unrealengine.com/zh-CN/Resources/SampleGames/ARPG/index.html
整体流程
分析
- 主角技能释放的入口肯定是输入引发的,所以查看
BP_PlayerCharacter
中的输入处理,我们重点考察玩家普通攻击
- 接下来 会通过
UAbilitySystemComponent
激活玩家对应的技能
bool ARPGCharacterBase::ActivateAbilitiesWithItemSlot(FRPGItemSlot ItemSlot