- Home /
GUI Creates a prefab?
How would i go about making a GUI button that then creates a prefab at the point where the player has clicked, but then lock it to a certain axis? kinda like a tower defense game. you select your tower and while you still have it selected you place it a long a certain axis to put it on the plain?
Break your problem down into it's essential steps. You want to
Create a GUI button
Have that button be able to instantiate a prefab
Place that prefab along a surface
Please use the search function to check out previous answers to similar questions, they've all been asked plenty of times.
Answer by Rush-Rage-Games · Jul 06, 2011 at 06:03 PM
Check out this video and this video! Hope this helps!
(Make sure to click the check mark by my answer if this answers your question!)
YES that is exactly what i needed thank you so much!
Your answer
Follow this Question
Related Questions
Loading scene with a prefab GUI button? 1 Answer
GUI and buttons 3 Answers
How To Make GUI/Dragable Object - Att: Video 3 Answers
On Click paramaters disappear from button prefab? 5 Answers
How to change button image on click 2 Answers