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

Latest Images

Trending Articles





Latest Images