去掉玩家攻击功能

This commit is contained in:
2026-07-05 20:16:12 +08:00
parent aab515c1f8
commit 567ef641b0
3 changed files with 6 additions and 31 deletions
@@ -37,11 +37,7 @@ namespace IndianOceanAssets.Engine2_5D
else if (input.x < 0)
transform.localScale = new Vector3(-Mathf.Abs(transform.localScale.x), transform.localScale.y, transform.localScale.z);
// Trigger slash when attack key is pressed
if (Input.GetKeyDown(attackKeyCode))
{
Slash();
}
// 攻击输入已移除(由灵灯系统替代)
}
// Executes the sword slash logic