- Home /
can you duplicate unity 4.6 Buttons
Hi i have an idea but am unsure if it is going to work or not.
i want to be able to do 1 of 2 things to create an RPG game witrh the new Unity 4.6 UI
have a spell book with buttons that hold all the spells, also your Inventory items, potions gear etc and make duplicates of those items to put on a action bar.
have the buttons static to the UI and have the button images replaced with icons that can be dragged from a spell book or inventory
meaning from the inventory Potions, hearthstone etc.
or if you could make the action bar another way, how could you do so?
i have not played with the code as of much yet but the UI elements itself and you are able to make a pretty decent RPG system from it i believe, but before i dive into it, if anyone else has tried. is it worth doing or is their a better way to do this?
Your question is a little broad and unclear.
Speaking to the title you can certainly duplicate UI.Buttons by saving them as a prefab and Instantiating, for example.
Your answer
![](https://koobas.hobune.stream/wayback/20220613191408im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Recreating iPhone Home Screen in Unity 1 Answer
UI Button to Toggle Animation and sound 2 Answers
How to set up UI button automatic navigation using keyboard but not using arrow keys or awsd 0 Answers
Text component of Button subclass returns null 1 Answer
button spacing changes based on different aspect ratio of display 0 Answers