Quantcast
Channel: Latest Questions by betaFlux
Viewing all articles
Browse latest Browse all 30

How to add one onClick Event to multiple UI buttons

$
0
0
Hello, I must be missing something essential here. This is what I've tried: void Start() { // Assign the callback to all buttons foreach(Button subbutton in canvas.transform.GetComponentsInChildren

Viewing all articles
Browse latest Browse all 30

Trending Articles



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