I did actually read through that - that's where I got the above script from. I can't see where it's going wrong - and I'm not being returned any errors or the likes.
The script is set up to generate all these buttons as child objects; I then run through them to change the text to match the intended button action (works perfectly), but actually attaching an OnClick to the button itself seems to be where everything is falling apart. As you can see above, I'm just trying to test it with a very basic Debug.Log action.. and am unfortunately, not getting any output.
↧