技能
快速开始(绘制能力按钮)
Player :: class : Player_Base {
ao_late_update :: method(dt: float) {
if this->is_local_or_server() {
draw_ability_button(this, Shoot_Ability, 0); // 大号主按钮
draw_ability_button(this, Dodge_Roll, 1); // 小按钮
}
}
}能力 API 参考
创建一个能力(基础点击)
持续型能力(按住时生效)
瞄准型能力(在移动端拖动以瞄准)
全局能力限制(可选)
最佳实践
最后更新于