From 687987873963824becd073129eae888dd10c0c18 Mon Sep 17 00:00:00 2001 From: kittyegg Date: Mon, 11 May 2026 23:30:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BC=D0=B5?= =?UTF-8?q?=D1=82=D0=BE=D0=B4=20OnMouseDown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Turret.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Assets/Scripts/Turret.cs b/Assets/Scripts/Turret.cs index 6295313..fcd68aa 100644 --- a/Assets/Scripts/Turret.cs +++ b/Assets/Scripts/Turret.cs @@ -41,9 +41,4 @@ public class Turret : MonoBehaviour private bool DetectEnemy(Vector3 direction) => Physics.Raycast(transform.position, direction, out var hit, _bulletPrefab.Distance + _distance) && hit.transform.TryGetComponent(out Enemy _); - - public void OnMouseDown() - { - print("Click on turret"); - } }