Hey all! I have been trying to find a way to let the player import a custom icon at runtime, but I haven’t been able to figure it out. Is this something that you would do with c++ or blueprints? Right now I’m using default engine textures for the icons and they have been good a place holders, but I really wanted to let the player choose what their avatar will be. Thank you!
If you are talking about importing a new texture asset during runtime then I dont know how to do that,
But if you mean having a texture or material asset already in the built project and letting the player select it and have it change their avatar then yeah I can think of a few ways to do that. You can most likely just use a Set Material node on the static mesh or UMG image that has the icon image. May or may not need it to be a dynamic material instance depending on if you need the change to happen to individual instances of the icon (if there is going to be more than one visible on each machine in the networked game for example) and they need to be different from each other and have parameters change individually.
But I think you can get what you need with just a simple Change Material.