提交测试脚本

This commit is contained in:
2026-03-02 00:03:29 +08:00
parent 7712c73be2
commit f07a52f2f0
12 changed files with 1450 additions and 117 deletions

View File

@@ -168,7 +168,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &154764977
Transform:
m_ObjectHideFlags: 0
@@ -234,7 +234,7 @@ CapsuleCollider:
m_Radius: 0.004
m_Height: 0.04
m_Direction: 1
m_Center: {x: 0, y: 0, z: 0}
m_Center: {x: 0, y: 0.03, z: 0}
--- !u!114 &154764983
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -244,13 +244,26 @@ MonoBehaviour:
m_GameObject: {fileID: 154764976}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 976f4f103cc04f34a8a81bd4abba2244, type: 3}
m_Script: {fileID: 11500000, guid: c103db8c4b014d87845103a400b1ace5, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::BobberBuoyancyStable
waterLevel: 0
buoyancyMultiplier: 12
dampingFactor: 0.5
showDebugInfo: 1
m_EditorClassIdentifier: Assembly-CSharp::NBF.BobberFloating
_water: {fileID: 2531380344179187550}
_RigidBody: {fileID: 154764980}
_Layer: 1
_BuoyancyForceStrength: 10
_BuoyancyTorqueStrength: 8
_MaximumBuoyancyForce: 100
_CenterToBottomOffset: -1
_AccelerateDownhill: 0
_Drag: {x: 2, y: 3, z: 1}
_AngularDrag: 0.2
_ForceHeightOffset: 0
_ObjectWidth: 3
_Debug:
_DrawQueries: 0
Probe:
- _Weight: 1
_Position: {x: 0, y: 0, z: 0}
--- !u!1 &203844586
GameObject:
m_ObjectHideFlags: 0
@@ -992,7 +1005,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 2147483647
m_IsActive: 0
m_IsActive: 1
--- !u!154 &909052970
TerrainCollider:
m_ObjectHideFlags: 0
@@ -1062,7 +1075,7 @@ Transform:
m_GameObject: {fileID: 909052969}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -11.98, y: 0, z: -4.68}
m_LocalPosition: {x: -23.7, y: -0.46, z: -26.45}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -2013,7 +2026,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!54 &1518432885
Rigidbody:
m_ObjectHideFlags: 0
@@ -2854,7 +2867,7 @@ Transform:
m_GameObject: {fileID: 2058458419}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -0.04, z: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@@ -5753,6 +5766,79 @@ MonoBehaviour:
m_EditorClassIdentifier: Assembly-CSharp::NBF.LureController
rBody: {fileID: 8093361435069273870}
joint: {fileID: 8264839114692736908}
--- !u!1001 &7909769884836788113
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1840670280526439345, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_UseGravity
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2095571566598544365, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_Name
value: Float (4)
objectReference: {fileID: 0}
- target: {fileID: 2095571566598544365, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3458544836024540060, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: _water
value:
objectReference: {fileID: 2531380344179187550}
- target: {fileID: 3458544836024540060, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: drawDebug
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalPosition.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalPosition.y
value: 1.08
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalRotation.w
value: 0.8827427
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalRotation.x
value: 0.4698567
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 56.05
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7542518912372236678, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 68d702ab1637e634e9217435fac83d3c, type: 3}
--- !u!54 &8093361435069273870
Rigidbody:
m_ObjectHideFlags: 0
@@ -5908,7 +5994,6 @@ GameObject:
- component: {fileID: 8264424693587136966}
- component: {fileID: 6135364979465448005}
- component: {fileID: 8264424693587136967}
- component: {fileID: 8264424693587136968}
m_Layer: 16
m_Name: Float
m_TagString: Untagged
@@ -5968,7 +6053,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &8114378222086924161
Transform:
m_ObjectHideFlags: 0
@@ -6400,18 +6485,6 @@ ConfigurableJoint:
m_MassScale: 1
m_ConnectedMassScale: 1
--- !u!114 &8264424693587136967
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8112599368562234729}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dd1aa9f0de8b435448c6893ecc60d021, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Buoyancy
--- !u!114 &8264424693587136968
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -6420,9 +6493,21 @@ MonoBehaviour:
m_GameObject: {fileID: 8112599368562234729}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 423a6cd563fdc3045830dd7c6f9d8209, type: 3}
m_Script: {fileID: 11500000, guid: 6f273ba33ebe49cd8b31b92db8288a90, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::StableFloatBuoyancy
m_EditorClassIdentifier: Assembly-CSharp::Buoyancy
_water: {fileID: 0}
includeDeformation: 1
sphereRadiusApproximation: 0.1
waveForceMultiplier: 0.01
currentSpeedMultiplier: 0.01
dragMultiplier: 1
defaultRigidbodyDrag: 5
underwaterRigidbodyAngularDrag: 5
overwaterRigidbodyAngularDrag: 1
surfaceTensionDamping: 10
applyForceWithRandomOffset: 0
drawDebug: 1
--- !u!153 &8264839114692736908
ConfigurableJoint:
m_ObjectHideFlags: 0
@@ -6959,4 +7044,5 @@ SceneRoots:
- {fileID: 909052972}
- {fileID: 668361904}
- {fileID: 154764977}
- {fileID: 7909769884836788113}
- {fileID: 5388330205210097294}