Spawn static mesh by UMG button
hi there! i want to create a button in my widget, to destroy and spawn a cube static mesh. (example name "CubeA") i want to make this with a checkbox. the checked button destroy the CubeA, and when the user unchecked it, it spawns.
the first part is allready done. the cheked button destroy the CubeA. but how can i spawn it back?
asked Sep 29 '15 at 07:06 PM in Blueprint Scripting
You can set an OnClicked event for the button that, when pressed, calls the SpawnAcotrFromClass node to spawn an actor from the appropriate class.
answered Sep 29 '15 at 07:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here