Update NPC Prefabs

This commit is contained in:
manhduyhoang90
2026-06-04 15:48:59 +07:00
parent f970c78192
commit c545401b7a
3 changed files with 65 additions and 213 deletions

View File

@@ -125,6 +125,8 @@ GameObject:
- component: {fileID: 66474588272659248}
- component: {fileID: 5993569412413708733}
- component: {fileID: 8272839718325411334}
- component: {fileID: 5770331367975928816}
- component: {fileID: 4112854993683970537}
m_Layer: 0
m_Name: xNPC
m_TagString: Untagged
@@ -140,8 +142,8 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7522161431095319480}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 5.51452, y: 15.823099, z: 45.11779}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 9.72, y: 1.08, z: 15.75}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@@ -244,8 +246,59 @@ MonoBehaviour:
detectRange: 10
moveSpeed: 3
rotateSpeed: 50
patrolRadius: 15
patrolWaitTime: 2
playerHasArtifact: 0
laserPrefab: {fileID: 3965388737199864462, guid: fbec2b501d70daa4c9cb481ba53fc0b8, type: 3}
firePoint: {fileID: 5863061020199015852}
minShootDelay: 1
maxShootDelay: 3
--- !u!195 &5770331367975928816
NavMeshAgent:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7522161431095319480}
m_Enabled: 1
m_AgentTypeID: 0
m_Radius: 0.5
m_Speed: 3.5
m_Acceleration: 8
avoidancePriority: 50
m_AngularSpeed: 120
m_StoppingDistance: 0
m_AutoTraverseOffMeshLink: 1
m_AutoBraking: 1
m_AutoRepath: 1
m_Height: 2
m_BaseOffset: 0
m_WalkableMask: 4294967295
m_ObstacleAvoidanceType: 4
--- !u!54 &4112854993683970537
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7522161431095319480}
serializedVersion: 5
m_Mass: 1
m_LinearDamping: 0
m_AngularDamping: 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: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 112
m_CollisionDetection: 0