From ed0f009f28f8d7399509d75cbeb65a5674712d18 Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Wed, 12 Mar 2025 00:03:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BD=AE=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Resources/Art/Background/Out/Prefab/卡车.prefab | 6 +++--- Assets/Resources/Art/Background/Out/Prefab/轿车.prefab | 4 ++-- Assets/Scripts/AnimationManage/MoveableVehicle.cs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Assets/Resources/Art/Background/Out/Prefab/卡车.prefab b/Assets/Resources/Art/Background/Out/Prefab/卡车.prefab index 46458b8a2..4c1aceaf6 100644 --- a/Assets/Resources/Art/Background/Out/Prefab/卡车.prefab +++ b/Assets/Resources/Art/Background/Out/Prefab/卡车.prefab @@ -52,7 +52,7 @@ SpriteRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 0} + - {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -242,7 +242,7 @@ SpriteRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 0} + - {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -326,7 +326,7 @@ SpriteRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 0} + - {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/Assets/Resources/Art/Background/Out/Prefab/轿车.prefab b/Assets/Resources/Art/Background/Out/Prefab/轿车.prefab index a18b8f274..7de080c49 100644 --- a/Assets/Resources/Art/Background/Out/Prefab/轿车.prefab +++ b/Assets/Resources/Art/Background/Out/Prefab/轿车.prefab @@ -52,7 +52,7 @@ SpriteRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 0} + - {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -136,7 +136,7 @@ SpriteRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 0} + - {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/Assets/Scripts/AnimationManage/MoveableVehicle.cs b/Assets/Scripts/AnimationManage/MoveableVehicle.cs index 6393bf91d..0c4905172 100644 --- a/Assets/Scripts/AnimationManage/MoveableVehicle.cs +++ b/Assets/Scripts/AnimationManage/MoveableVehicle.cs @@ -16,7 +16,7 @@ public class MoveableVehicle : MovableObject shouldStop = Random.value > 0.5f; // 50% 概率停留 stopTime = Random.Range(1f, 3f); AdjustFacingDirection(); - SetWheelRotation(); + //SetWheelRotation(); ApplyPositionOffset(); }