// Change the other FSMs state to the HelpState private void HelpAnotherFSM(Vector3 helpTargetPosition, AIBehaviors otherFSM) { HelpState helpState = null; helpState = otherFSM.GetState <HelpState>(); if (helpState != null && helpState.CanHelp(otherFSM)) { helpState.helpPoint = helpTargetPosition; otherFSM.ChangeActiveState(helpState); } }