From 0bf6e638a9876438da57f5f34424b9d0a5e45005 Mon Sep 17 00:00:00 2001 From: Alex140991 <150151227+Alex140991@users.noreply.github.com> Date: Sat, 18 Jul 2026 15:32:13 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=94=D0=97=20=E2=84=961.=20=D0=9A=D0=B8?= =?UTF-8?q?=D0=BA=D1=82=D0=B5=D0=BD=D0=BA=D0=BE=20=D0=90.=D0=90.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Изменение времени с 1 до 5 --- Assets/Scripts/EnterPoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/EnterPoint.cs b/Assets/Scripts/EnterPoint.cs index 6f474a574..1f0eca643 100644 --- a/Assets/Scripts/EnterPoint.cs +++ b/Assets/Scripts/EnterPoint.cs @@ -10,7 +10,7 @@ public class EnterPoint : MonoBehaviour { [SerializeField] private Settings _settings; [SerializeField] private Canvas _targetCanvas; - private float _timeScale = 1; + private float _timeScale = 5; void Start() { From cabb5b21d139cf6af915a237866c702610f60961 Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Sun, 19 Jul 2026 15:29:51 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=A3=D0=BF=D1=80=D0=B0=D0=B6=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Снаряды летят по дуге --- .../Runtime/Projectiles/ArchToTileProjectile.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs b/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs index c37ed0218..1e5da86cd 100644 --- a/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs +++ b/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs @@ -26,14 +26,14 @@ protected override void UpdateImpl(float deltaTime, float time) float localHeight = 0f; float totalDistance = _totalDistance; - /////////////////////////////////////// - // Insert you code here - /////////////////////////////////////// + //Упрожнение №2 + float maxHeight = totalDistance * 0.6f; + float x = t * 2 - 1; - /////////////////////////////////////// - // End of the code to insert - /////////////////////////////////////// + x *= x; + + localHeight = maxHeight * (1-x) ; Height = localHeight; if (time > StartTime + _timeToTarget)