Switching materials to a static mesh and then restore the original ones

Try this:

  1. Create the structure:

image

Materials: MaterialInterface array

  1. Add the variable:

image

Map: Key = StaticMeshActor, Value = struct array

  1. Create the function:

  1. Use the function:

I hope it’ll be helpful to you.

My Products

1 Like