Walmart CEO Doug McMillon criticized President Trump's response to the violence in Charlottesville, Va., over the weekend, but said he planned to remain engaged with the White House.

In a statement posted on the retail giant's website, McMillon wrote that Trump "missed a critical opportunity to help bring our country together by unequivocally rejecting the appalling actions of white supremacists."

Trump did not specifically call out white supremacy and racism in his first comments on the violence in Charlottesville on Saturday, although he did in a public appearance Monday.

McMillon said Monday's comments were a "step in the right direction and we need that clarity and consistency in the future."

In recent days, several members of Trump's manufacturing council, including the heads of Merck, Intel, and Under Armour, have resigned in protest.

McMillon is not a member of the council, but he has visited the White House to advise Trump as part of a group of CEOs. In his statement Monday, he suggested that he wouldn't decline to perform a similar role in the future. "We believe we should stay engaged to try to influence decisions in a positive way and help bring people together," he wrote.

Criticism of Trump intensified Saturday after a car plowed into a group of people protesting white supremacists rallying in Charlottesville, killing Heather Heyer and injuring many others.