Skip to content

Commit

Permalink
Fix gremlin pathfinding
Browse files Browse the repository at this point in the history
  • Loading branch information
12joan committed Dec 28, 2024
1 parent df76c0b commit 2b05239
Show file tree
Hide file tree
Showing 11 changed files with 5,178 additions and 1,489 deletions.
25 changes: 25 additions & 0 deletions Assets/Unity/Prefabs/Concealed Enemies.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ GameObject:
m_Component:
- component: {fileID: 8360158687192745143}
- component: {fileID: 2721554247640805189}
- component: {fileID: 5768269393941388447}
m_Layer: 0
m_Name: Activate
m_TagString: Untagged
Expand Down Expand Up @@ -271,3 +272,27 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 5768269393941388447}
m_TargetAssemblyTypeName: RecomputePathfindingGraph, Assembly-CSharp
m_MethodName: Invoke
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &5768269393941388447
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8907514426622187273}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e706bbf0fcbc645228fca454ae1c6bce, type: 3}
m_Name:
m_EditorClassIdentifier:
9 changes: 7 additions & 2 deletions Assets/Unity/Prefabs/Enemies/Base Enemy.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,10 @@ MonoBehaviour:
m_EditorClassIdentifier:
Animator: {fileID: 0}
rb: {fileID: 1867361173708942006}
ConveyorContactOffset: {x: 0, y: 0}
OnFootstep:
m_PersistentCalls:
m_Calls: []
_Movement: {x: 0, y: 0}
VisualMovement: {x: 0, y: 0}
--- !u!114 &7919403477427766447
MonoBehaviour:
m_ObjectHideFlags: 0
Expand All @@ -211,6 +210,9 @@ MonoBehaviour:
m_EditorClassIdentifier:
MovementManager: {fileID: 5768021714915035133}
ScriptedMovementState: 0
AvoidCollisionLayerMask:
serializedVersion: 2
m_Bits: 256
--- !u!114 &3506017249261938202
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -327,6 +329,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: af644c78b649545e2aa9d2598cc2ffce, type: 3}
m_Name:
m_EditorClassIdentifier:
StandardCollisions: 1
TriggerCollisions: 0
OnCollide:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -382,6 +386,7 @@ MonoBehaviour:
Collider: {fileID: 968148448589429987}
HealthBar: {fileID: 7603264350138550232}
HideHealthBarWhenFullOrEmpty: 1
SlowOnDamage: 1
SlowOnDamageDuration: 1
MovementManager: {fileID: 5768021714915035133}
--- !u!1 &8243312718787930165
Expand Down
11 changes: 7 additions & 4 deletions Assets/Unity/Prefabs/Test Pathfinding Agent.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ MonoBehaviour:
m_EditorClassIdentifier:
MovementManager: {fileID: 5844531949291595967}
ScriptedMovementState: 0
AvoidCollisionLayerMask:
serializedVersion: 2
m_Bits: 256
--- !u!114 &5844531949291595967
MonoBehaviour:
m_ObjectHideFlags: 0
Expand All @@ -137,11 +140,11 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Animator: {fileID: 0}
SoundController: {fileID: 0}
FootstepSounds: []
rb: {fileID: 5844531949291595964}
_Movement: {x: 0, y: 0}
VisualMovement: {x: 0, y: 0}
ConveyorContactOffset: {x: 0, y: 0}
OnFootstep:
m_PersistentCalls:
m_Calls: []
--- !u!50 &5844531949291595964
Rigidbody2D:
serializedVersion: 4
Expand Down
Loading

0 comments on commit 2b05239

Please sign in to comment.