void DisablePlayerInput() { m_mouseSelection.DisablePieceSelection(); foreach (var move in m_pendingMoves) { var piece = m_pieces[move.pieceNr]; piece.GetComponent <Animator>().SetBool("Jump", false); } m_pendingMoves = null; }