private void OldBulletHit(int cmdSeq, DefaultBulletSegment segment, ICompensationWorld world) { RaycastHit camDirHit; if (world.Raycast(segment.RaySegment, out camDirHit, _hitboxLayerMask)) { _bulletHitHandler.OnHit(cmdSeq, segment.BulletEntity, camDirHit, world); } }
private void InspectOldBulletHit(int cmdSeq, DefaultBulletSegment segment, CompensationWorld world) { RaycastHit camDirHit; if (world.Raycast(segment.RaySegment, out camDirHit, _hitboxLayerMask, cmdSeq)) { DebugUtil.AppendShootText(cmdSeq, "[Inspect]old world.Raycas sucess"); _bulletHitHandler.OnHit(cmdSeq, segment.BulletEntityAgent, camDirHit, world); } }