|
|
|
@ -117,6 +117,13 @@ public class AgentController : MonoBehaviour
|
|
|
|
|
{ |
|
|
|
|
if (pathFindEnable /*&& !FixedArmFlag*/) |
|
|
|
|
{ |
|
|
|
|
if (GetComponent<FireRobotController>()) |
|
|
|
|
{ |
|
|
|
|
if (GetComponent<FireRobotLayWaterHose>().remainlenght<0.5f) |
|
|
|
|
{ |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
begionmove = true; |
|
|
|
|
var data = (PathFindingCmdArgs)obj.Data; |
|
|
|
|
pointhit = data.hitPoint; |
|
|
|
|