diff --git a/Assets/Scripts/Common/Disasters/Wound_Trapped/TrappedMoveFree.cs b/Assets/Scripts/Common/Disasters/Wound_Trapped/TrappedMoveFree.cs index 268b49c..c06ff94 100644 --- a/Assets/Scripts/Common/Disasters/Wound_Trapped/TrappedMoveFree.cs +++ b/Assets/Scripts/Common/Disasters/Wound_Trapped/TrappedMoveFree.cs @@ -178,6 +178,7 @@ public class TrappedMoveFree : MonoBehaviour set { + Debug.Log("" + "dssfsda" + ""); targetPosition = value; } } @@ -185,7 +186,7 @@ public class TrappedMoveFree : MonoBehaviour public void OnEnable() { //MessageDispatcher.AddListener("SetGuidpathIndex", AddGuidIndex); - MessageDispatcher.AddListener("MOVE_MAN_COMMAND", MoveExcute); + // MessageDispatcher.AddListener("MOVE_MAN_COMMAND", MoveExcute); MessageDispatcher.AddListener("GUIDANCE_MAN_COMMAND", GuidanceTrapped); MessageDispatcher.AddListener("FRISTAID_MAN_COMMAND", FristAidTrapped); MessageDispatcher.AddListener("TRAPPED_MOVE_FOLLOW_GUIDE_POINT_COMMAND", MoveFollowGuidPoint); @@ -202,7 +203,7 @@ public class TrappedMoveFree : MonoBehaviour public void OnDestroy() { // MessageDispatcher.RemoveListener("SetGuidpathIndex", AddGuidIndex); - MessageDispatcher.RemoveListener("MOVE_MAN_COMMAND", MoveExcute); + //MessageDispatcher.RemoveListener("MOVE_MAN_COMMAND", MoveExcute); MessageDispatcher.RemoveListener("GUIDANCE_MAN_COMMAND", GuidanceTrapped); MessageDispatcher.RemoveListener("FRISTAID_MAN_COMMAND", FristAidTrapped); MessageDispatcher.RemoveListener("TRAPPED_MOVE_FOLLOW_GUIDE_POINT_COMMAND", MoveFollowGuidPoint); @@ -218,7 +219,7 @@ public class TrappedMoveFree : MonoBehaviour public void OnDisable() { //MessageDispatcher.RemoveListener("SetGuidpathIndex", AddGuidIndex); - MessageDispatcher.RemoveListener("MOVE_MAN_COMMAND", MoveExcute); + // MessageDispatcher.RemoveListener("MOVE_MAN_COMMAND", MoveExcute); MessageDispatcher.RemoveListener("GUIDANCE_MAN_COMMAND", GuidanceTrapped); MessageDispatcher.RemoveListener("FRISTAID_MAN_COMMAND", FristAidTrapped); MessageDispatcher.RemoveListener("TRAPPED_MOVE_FOLLOW_GUIDE_POINT_COMMAND", MoveFollowGuidPoint);