I am creating a product configurator where the client can change the material of an object, and then add it to a shoping cart.
when the client adds the product to the shopping cart, it displays a confirmation text, and i need to print the name of the materials choosen by the client.
I know there is a get material action on the blueprints but I don’t know how to make it display the name on screen.
You can pass the material name via the game instance:
In the widget:
1 Like
thank you. i’m trying to implement your solution, I just don’t know how you made these connections.alt text
It’s ok apart from the GI. You have to make your own game instance, because that way you get to put the variable in it.
That’s why you cast, you have to change the GI from the default one, into your own one ( with the variable in it ).
See this on how to make a GI:
At the moment, you're cast GameInstance to GameInstance, that's why you're getting the blue note.
Notice how I’m accessing the variable inside the GI:

1 Like