Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - baph

Pages: [1]
1
Support / Re: RadioButton toggle
« on: April 17, 2014, 02:05:53 pm »
I was unable to get it to work when debugging, however I recorded the problem in a new clean project: http://youtu.be/b4q7DRaIJ8E

Edit://
I checked out the demo scene, dunno how I could've missed it. I just had to add the UIToggleButtonGroup script to the parent, now it works like a charm. I also don't have to use 'Off State GameObject' for this. Thanks!

2
Support / RadioButton toggle
« on: April 16, 2014, 06:27:26 pm »
Hi there,

I am using the Checkbox prefab as RadioButton and have 2 of them. Obviously I want only one of them to be active at any given time. However, it simply does not want to work.

I have 2 RadioButtons:
- RadioButtonMale
-- 'On' by default
-- On State GameObject is himself
-- Off State GameObject is 'RadioButtonFemale'

- RadioButtonFemale
-- On State GameObject is himself
-- Off State GameObject is 'RadioButtonMale'

I tried using the On & Off State combo, but this won't work as I have to click each Radiobutton twice to change it from inactive to active state for no reason.

I've run the debugger and tested this step by step. The weird part: when debugging it works like it should and like I want it to. But if I don't debug step by step, it does not work. I really have no clue what the hell is going on.



Pages: [1]