去掉玩家攻击功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user