You can plug multiple different targets into one “Set Material” node; as many as you want. If you want each object to have it’s own different materials for scheme 1 and scheme 2, then it’s a bit more complicated and there are a bunch of different ways you could do that.
The first way that comes to my mind is to use a blueprint interface. You just need one function “Switch Color Schemes”, with a bool input for scheme 1 or scheme 2. When you get the keystroke input in your controller, “Get All Actors with Interface”, and For Each of those, call your Switch Color Scheme function.
Then, in each object that needs to change color:
- Implement the interface
- Make two variables to store the scheme 1 and scheme 2 materials.
- On “Event Switch Color Schemes”, branch for the bool input and set the material on your mesh to the appropriate material variable.