From 779d69fcfd9a1e36997c08c2fbc64141a1bae575 Mon Sep 17 00:00:00 2001 From: GanX <2423855310@qq.com> Date: Sun, 26 Oct 2025 18:10:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(MovingPlatform):=E4=BF=AE=E5=A4=8D=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E6=97=A0=E6=B3=95=E5=AF=B9=E5=B0=8F=E7=90=83=E4=BA=A7?= =?UTF-8?q?=E7=94=9F=E7=A2=B0=E6=92=9E=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Prefab/Gameplay/MovingPlatform.prefab | 35 ++++++++++++++++++-- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/Assets/Prefab/Gameplay/MovingPlatform.prefab b/Assets/Prefab/Gameplay/MovingPlatform.prefab index 7ffad6e..aed8920 100644 --- a/Assets/Prefab/Gameplay/MovingPlatform.prefab +++ b/Assets/Prefab/Gameplay/MovingPlatform.prefab @@ -74,6 +74,7 @@ GameObject: - component: {fileID: 5433797564514499876} - component: {fileID: 8156633707813737306} - component: {fileID: 3675454749213569031} + - component: {fileID: 8029581128461876074} - component: {fileID: 1931740156992591536} - component: {fileID: 7403824303730881351} - component: {fileID: 7645408395893201992} @@ -172,6 +173,33 @@ BoxCollider: serializedVersion: 3 m_Size: {x: 1, y: 1, z: 1} m_Center: {x: 0, y: 0, z: 0} +--- !u!54 &8029581128461876074 +Rigidbody: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7005547257201551238} + serializedVersion: 4 + m_Mass: 1 + m_Drag: 0 + m_AngularDrag: 0.05 + m_CenterOfMass: {x: 0, y: 0, z: 0} + m_InertiaTensor: {x: 1, y: 1, z: 1} + m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ImplicitCom: 1 + m_ImplicitTensor: 1 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 0 + m_CollisionDetection: 0 --- !u!114 &1931740156992591536 MonoBehaviour: m_ObjectHideFlags: 0 @@ -200,10 +228,11 @@ MonoBehaviour: m_EditorClassIdentifier: isEnableInteract: 1 isEnableEdit: 1 - isEnableConnect: 1 - componentName: - needSignalCount: 1 + isEnableConnect: 0 isOpenInEditor: 1 + needSignalCount: 1 + currentSignalCount: 0 + componentName: startPositionObject: {fileID: 3154147150921727065} targetPositionObject: {fileID: 2516956888757501734} moveSpeed: 2