Files
Net.Project.B/Src/Bullet/BulletService.cs

13 lines
279 B
C#
Raw Normal View History

2025-03-24 14:42:29 +08:00
using System;
2025-03-03 18:43:55 +08:00
namespace BITFALL.Bullet
{
public interface IBulletService
{
2025-03-24 14:42:29 +08:00
int LayerMask { get; set; }
2025-03-03 18:43:55 +08:00
void Spawn(BulletData bulletData);
2025-03-24 14:42:29 +08:00
Func<int,int,bool> OnHit { get; set; }
2025-08-03 02:28:22 +08:00
public event Action<BulletData, object> OnBulletHit;
2025-03-03 18:43:55 +08:00
}
}