35ed59b247
Use pathfinding algorithm
220 lines
5.8 KiB
Plaintext
220 lines
5.8 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!1 &8184504007427166059
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 8184504007427166053}
|
|
- component: {fileID: 8184504007427166058}
|
|
- component: {fileID: 8184504007427166052}
|
|
- component: {fileID: 8184504007427166049}
|
|
- component: {fileID: 8184504007427166054}
|
|
- component: {fileID: 8184504007427166048}
|
|
- component: {fileID: 8184504007427166055}
|
|
m_Layer: 0
|
|
m_Name: Bat_0
|
|
m_TagString: Enemy
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &8184504007427166053
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8184504007427166059}
|
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
m_LocalPosition: {x: -21.69, y: 21.69, 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 &8184504007427166058
|
|
SpriteRenderer:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8184504007427166059}
|
|
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: 2289139461614898568, guid: e9dc0427d56f78a4e8cdb1c3241d07a6, 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, y: 1}
|
|
m_AdaptiveModeThreshold: 0.5
|
|
m_SpriteTileMode: 0
|
|
m_WasSpriteAssigned: 1
|
|
m_MaskInteraction: 0
|
|
m_SpriteSortPoint: 0
|
|
--- !u!95 &8184504007427166052
|
|
Animator:
|
|
serializedVersion: 4
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8184504007427166059}
|
|
m_Enabled: 1
|
|
m_Avatar: {fileID: 0}
|
|
m_Controller: {fileID: 9100000, guid: 468bede70548a404c8aaf727ddeaa3c1, 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!61 &8184504007427166049
|
|
BoxCollider2D:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8184504007427166059}
|
|
m_Enabled: 1
|
|
m_Density: 1
|
|
m_Material: {fileID: 0}
|
|
m_IsTrigger: 1
|
|
m_UsedByEffector: 0
|
|
m_UsedByComposite: 0
|
|
m_Offset: {x: -0.0312109, y: 0.062422752}
|
|
m_SpriteTilingProperty:
|
|
border: {x: 0, y: 0, z: 0, w: 0}
|
|
pivot: {x: 0.5, y: 0.5}
|
|
oldSize: {x: 1, y: 1}
|
|
newSize: {x: 1, y: 1}
|
|
adaptiveTilingThreshold: 0.5
|
|
drawMode: 0
|
|
adaptiveTiling: 0
|
|
m_AutoTiling: 0
|
|
serializedVersion: 2
|
|
m_Size: {x: 0.9375782, y: 0.6254711}
|
|
m_EdgeRadius: 0
|
|
--- !u!50 &8184504007427166054
|
|
Rigidbody2D:
|
|
serializedVersion: 4
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8184504007427166059}
|
|
m_BodyType: 0
|
|
m_Simulated: 1
|
|
m_UseFullKinematicContacts: 0
|
|
m_UseAutoMass: 0
|
|
m_Mass: 1
|
|
m_LinearDrag: 3
|
|
m_AngularDrag: 0.05
|
|
m_GravityScale: 0
|
|
m_Material: {fileID: 0}
|
|
m_Interpolate: 0
|
|
m_SleepingMode: 1
|
|
m_CollisionDetection: 0
|
|
m_Constraints: 4
|
|
--- !u!114 &8184504007427166048
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8184504007427166059}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
speed: 2.5
|
|
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 &8184504007427166055
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8184504007427166059}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 3dd65ecdb4b7459489f8c03a18ccff46, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
moveSpeed: 2.5
|
|
enemyName: bat0
|
|
maxHealth: {fileID: 11400000, guid: 1a234827b90bfc24da563fbd5ffb412a, type: 2}
|
|
health: 3
|
|
baseAttack: 1
|
|
isKilled: 0
|
|
MinionName: Bat
|
|
path:
|
|
- {fileID: 0}
|
|
- {fileID: 0}
|
|
currentPoint: 0
|
|
currentGoal: {fileID: 0}
|
|
agent: {fileID: 8184504007427166048}
|
|
target: {fileID: 0}
|
|
chaseRadius: 6
|
|
attackRadius: 0.55
|
|
homePosition: {fileID: 0}
|
|
roundingDistance: 0
|
|
anim: {fileID: 0}
|
|
other: {fileID: 0}
|
|
inRange: 0
|
|
hit: 0
|
|
player: {fileID: 0}
|
|
thrust: 5
|
|
knockTime: 0.2
|
|
isKilled2: 0
|
|
expValue: 3
|