//ActivityInstruction & Progress Update public static void UpdateActIProgressBoth(SteppingProgress pProgress, ActivityInstruction pActI, Player pPlayer, Player pOtherPlayer, Vector2 pThumbstickDirection, bool AllowStepBack = true) { if (!Conditions.ActionThumbstickPressedBothPlayer(pPlayer, pOtherPlayer, pThumbstickDirection)) { if (!Conditions.ActionThumbstickPressed(pPlayer, pThumbstickDirection)) { pActI.SetFadingState(pPlayer, true); } else { pActI.SetFadingState(pPlayer, false, false); } if (!Conditions.ActionThumbstickPressed(pOtherPlayer, pThumbstickDirection)) { pActI.SetFadingState(pOtherPlayer, true); } else { pActI.SetFadingState(pOtherPlayer, false, false); } if (AllowStepBack) { pProgress.StepBackward(); } } else { pActI.SetFadingState(pPlayer, false, false); pActI.SetFadingState(pOtherPlayer, false, false); pProgress.StepForward(); } }