35ed59b247
Use pathfinding algorithm
222 lines
6.0 KiB
Plaintext
222 lines
6.0 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!1 &4006076606190978600
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 4006076606190978603}
|
|
- component: {fileID: 4006076606190978602}
|
|
- component: {fileID: 4006076606190978596}
|
|
- component: {fileID: 4006076606190978597}
|
|
- component: {fileID: 4006076606190978598}
|
|
- component: {fileID: -5618304694998678869}
|
|
- component: {fileID: 4740118962389386185}
|
|
m_Layer: 0
|
|
m_Name: Thug_old
|
|
m_TagString: Enemy
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &4006076606190978603
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4006076606190978600}
|
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
m_LocalPosition: {x: 0, y: 3.6720886, z: 10}
|
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
m_ConstrainProportionsScale: 0
|
|
m_Children: []
|
|
m_Father: {fileID: 0}
|
|
m_RootOrder: 0
|
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
--- !u!212 &4006076606190978602
|
|
SpriteRenderer:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4006076606190978600}
|
|
m_Enabled: 1
|
|
m_CastShadows: 0
|
|
m_ReceiveShadows: 0
|
|
m_DynamicOccludee: 1
|
|
m_StaticShadowCaster: 0
|
|
m_MotionVectors: 1
|
|
m_LightProbeUsage: 1
|
|
m_ReflectionProbeUsage: 1
|
|
m_RayTracingMode: 0
|
|
m_RayTraceProcedural: 0
|
|
m_RenderingLayerMask: 1
|
|
m_RendererPriority: 0
|
|
m_Materials:
|
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
|
m_StaticBatchInfo:
|
|
firstSubMesh: 0
|
|
subMeshCount: 0
|
|
m_StaticBatchRoot: {fileID: 0}
|
|
m_ProbeAnchor: {fileID: 0}
|
|
m_LightProbeVolumeOverride: {fileID: 0}
|
|
m_ScaleInLightmap: 1
|
|
m_ReceiveGI: 1
|
|
m_PreserveUVs: 0
|
|
m_IgnoreNormalsForChartDetection: 0
|
|
m_ImportantGI: 0
|
|
m_StitchLightmapSeams: 1
|
|
m_SelectedEditorRenderState: 0
|
|
m_MinimumChartSize: 4
|
|
m_AutoUVMaxDistance: 0.5
|
|
m_AutoUVMaxAngle: 89
|
|
m_LightmapParameters: {fileID: 0}
|
|
m_SortingLayerID: 0
|
|
m_SortingLayer: 0
|
|
m_SortingOrder: 3
|
|
m_Sprite: {fileID: -5218287967814079876, guid: 784e15dc3223c6342bbbc79cb202ad71, type: 3}
|
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
m_FlipX: 0
|
|
m_FlipY: 0
|
|
m_DrawMode: 0
|
|
m_Size: {x: 1.0625, y: 1.75}
|
|
m_AdaptiveModeThreshold: 0.5
|
|
m_SpriteTileMode: 0
|
|
m_WasSpriteAssigned: 1
|
|
m_MaskInteraction: 0
|
|
m_SpriteSortPoint: 0
|
|
--- !u!50 &4006076606190978596
|
|
Rigidbody2D:
|
|
serializedVersion: 4
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4006076606190978600}
|
|
m_BodyType: 0
|
|
m_Simulated: 1
|
|
m_UseFullKinematicContacts: 0
|
|
m_UseAutoMass: 0
|
|
m_Mass: 1
|
|
m_LinearDrag: 1
|
|
m_AngularDrag: 0.05
|
|
m_GravityScale: 0
|
|
m_Material: {fileID: 0}
|
|
m_Interpolate: 0
|
|
m_SleepingMode: 1
|
|
m_CollisionDetection: 0
|
|
m_Constraints: 4
|
|
--- !u!61 &4006076606190978597
|
|
BoxCollider2D:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4006076606190978600}
|
|
m_Enabled: 1
|
|
m_Density: 1
|
|
m_Material: {fileID: 0}
|
|
m_IsTrigger: 0
|
|
m_UsedByEffector: 0
|
|
m_UsedByComposite: 0
|
|
m_Offset: {x: 0, y: -0.44218445}
|
|
m_SpriteTilingProperty:
|
|
border: {x: 0, y: 0, z: 0, w: 0}
|
|
pivot: {x: 0.5, y: 0.5}
|
|
oldSize: {x: 1.0625, y: 1.75}
|
|
newSize: {x: 1.0625, y: 1.75}
|
|
adaptiveTilingThreshold: 0.5
|
|
drawMode: 0
|
|
adaptiveTiling: 0
|
|
m_AutoTiling: 0
|
|
serializedVersion: 2
|
|
m_Size: {x: 1.0625, y: 0.7334442}
|
|
m_EdgeRadius: 0
|
|
--- !u!95 &4006076606190978598
|
|
Animator:
|
|
serializedVersion: 4
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4006076606190978600}
|
|
m_Enabled: 1
|
|
m_Avatar: {fileID: 0}
|
|
m_Controller: {fileID: 9100000, guid: d3ee7fa12d1293d4f86d1a73da19c0b8, type: 2}
|
|
m_CullingMode: 0
|
|
m_UpdateMode: 0
|
|
m_ApplyRootMotion: 0
|
|
m_LinearVelocityBlending: 0
|
|
m_StabilizeFeet: 0
|
|
m_WarningMessage:
|
|
m_HasTransformHierarchy: 1
|
|
m_AllowConstantClipSamplingOptimization: 1
|
|
m_KeepAnimatorControllerStateOnDisable: 0
|
|
--- !u!114 &-5618304694998678869
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4006076606190978600}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
speed: 2
|
|
currentPosition:
|
|
GCost: 0
|
|
hCost: 0
|
|
walkable: 0
|
|
worldPosition: {x: 0, y: 0, z: 0}
|
|
gridPosition: {x: 0, y: 0}
|
|
isChasing: 0
|
|
point: {x: 0, y: 0, z: 0}
|
|
path: []
|
|
--- !u!114 &4740118962389386185
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4006076606190978600}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 88d05133b4682194e90a88b0f3c16b70, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
moveSpeed: 2
|
|
enemyName:
|
|
maxHealth: {fileID: 11400000, guid: 1a234827b90bfc24da563fbd5ffb412a, type: 2}
|
|
health: 0
|
|
baseAttack: 1
|
|
isKilled: 0
|
|
MinionName:
|
|
target: {fileID: 4869648843286970699, guid: 4cb7163e44af59f4c9350005c199db3c, type: 3}
|
|
chaseRadius: 6
|
|
attackRadius: 1
|
|
homePosition: {fileID: 0}
|
|
speed: 2
|
|
shouldRotate: 0
|
|
dir: {x: 0, y: 0, z: 0}
|
|
whatisplayer:
|
|
serializedVersion: 2
|
|
m_Bits: 0
|
|
roundingDistance: 0
|
|
anim: {fileID: 4006076606190978598}
|
|
other: {fileID: 0}
|
|
inRange: 0
|
|
hit: 0
|
|
player: {fileID: 4869648843286970700, guid: 4cb7163e44af59f4c9350005c199db3c, type: 3}
|
|
thrust: 0
|
|
knockTime: 0
|
|
isKilled2: 0
|
|
isPanelEnabled: 1
|
|
expValue: 2
|
|
agent: {fileID: -5618304694998678869}
|