game: bug fixing

the nav mesh was not loading properly
This commit is contained in:
ryan 2025-02-17 20:47:39 +08:00
parent dc165532e5
commit 4c4737eb58
4 changed files with 14 additions and 5 deletions

View file

@ -19190,7 +19190,7 @@ Transform:
m_GameObject: {fileID: 384578984}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 744.58594, y: 12.252825, z: 452.57123}
m_LocalPosition: {x: 744.58594, y: 11.83, z: 452.57123}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@ -36780,7 +36780,7 @@ MonoBehaviour:
m_Bits: 4294967295
m_UseGeometry: 0
m_DefaultArea: 0
m_GenerateLinks: 0
m_GenerateLinks: 1
m_IgnoreNavMeshAgent: 1
m_IgnoreNavMeshObstacle: 1
m_OverrideTileSize: 0
@ -36788,7 +36788,7 @@ MonoBehaviour:
m_OverrideVoxelSize: 0
m_VoxelSize: 0.06666667
m_MinRegionArea: 2
m_NavMeshData: {fileID: 23800000, guid: de28d0eec1a703e4fa799a7b4c7933fa, type: 2}
m_NavMeshData: {fileID: 23800000, guid: cd6b533da95b2f84fab4f57f45a2b869, type: 2}
m_BuildHeightMesh: 1
--- !u!114 &1127196874
MonoBehaviour:
@ -64134,7 +64134,8 @@ PrefabInstance:
propertyPath: m_Layer
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 4007912664867733957, guid: 721c32a22a3e4184f98c33731cee746b, type: 3}
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cd6b533da95b2f84fab4f57f45a2b869
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 23800000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -12,7 +12,7 @@ NavMeshProjectSettings:
- name: Jump
cost: 2
- name: grass
cost: 2
cost: 5
- name:
cost: 1
- name: