Quantcast
Channel: Answers for "On Click paramaters disappear from button prefab?"
Browsing latest articles
Browse All 9 View Live

Answer by unimechanic

You can ask in the Beta group, where our developers could help.

View Article



Answer by architrathi

Finally figured out a way to do this. Hope someone finds this answer useful. To be able to add a button click to an instantiated prefab. 1. Add the script directly to your prefab. 2. Drag the attached...

View Article

Answer by Dennis59

@PigChop, here is a way that you can instantiate a button from a prefab and attach any method that you wish. By setting this up as shown the parameter "value" will remain associated with the button...

View Article

Answer by monkdream

I was struggling with the exact same problem too. You can also make a prefab out of the GameObject your script is attached to and this allows the instantiated button to find the script. Prefabs...

View Article

Answer by Tarrag

five years on and @architrathi answer still works! thanks!

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>