Implement all levels.

This commit is contained in:
Emil Shanaty
2025-04-28 00:42:18 +03:00
parent bf8b7c5457
commit 2540fd9800
9 changed files with 549 additions and 119 deletions
+6
View File
@@ -39,6 +39,12 @@ void Update()
{
health.Die(); // Убиваем врага
}
if (hit.transform.gameObject.TryGetComponent<Circuit>(out Circuit circuit))
{
circuit.isOn = true;
}
}
else
{