1
This commit is contained in:
@@ -57,7 +57,7 @@ namespace BITFALL.Combat
|
||||
|
||||
Debug.DrawLine(command.Position, command.Position + command.Forward * command.Range, Color.red, 1f);
|
||||
var colliders = Physics.OverlapSphere(command.Position, command.Range,detectLayer);
|
||||
var _damaged = new Dictionary<ulong, IUnityEntity>();
|
||||
var _damaged = new Dictionary<int, IUnityEntity>();
|
||||
var hits = colliders
|
||||
.Where(x => x.GetComponent<IDamagable>() is not null)
|
||||
//.Where(x => MathV.IsForward(command.Position, command.Forward, x.transform.position))
|
||||
|
Reference in New Issue
Block a user