Files
2026-07-05 20:16:12 +08:00

17 lines
605 B
C#

using UnityEngine;
namespace IndianOceanAssets.Engine2_5D
{
// Handles shooting projectiles towards mouse click position
public class ProjectileShooter : MonoBehaviour
{
[SerializeField] private GameObject projectilePrefab; // Prefab for the projectile to shoot
[SerializeField] private KeyCode attackKeyCode; // Key to trigger shooting
[SerializeField] private LayerMask groundLayer; // Layer to detect ground for aiming
// Called once per frame
void Update()
{
// 攻击输入已移除(由灵灯系统替代)
}
}
}