Author Topic: Tasharen Advanced Tutorial 2: Radio Check Boxes on /off  (Read 3436 times)

Mickman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Tasharen Advanced Tutorial 2: Radio Check Boxes on /off
« on: October 12, 2012, 05:49:11 PM »
Hi,
    I am going through the basic tutorials & have duplicated check box's ( 4 times )
I  tick "Option can be none"  so each time I check a box the last one should cancel out...   but no...  they all stay on.

 I also tried grouping them under a common node but still the same issue. 

Any ideas how to fix this basic issue ?

I am running  Unity-3.5.6  & NGUI-222

 regards,
             Michael

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Tasharen Advanced Tutorial 2: Radio Check Boxes on /off
« Reply #1 on: October 13, 2012, 08:32:47 AM »
You need to specify an option group root (which must be a parent object).

2Nails

  • Guest
Re: Tasharen Advanced Tutorial 2: Radio Check Boxes on /off
« Reply #2 on: November 20, 2012, 06:38:23 AM »
Hi. I'm sry to dig up this topic, but i thought it was wiser to post here than open another one.

I've 3 checkboxes. The first one has a Panel as parent and the next ones have been copied/pasted from this one (they also have this Panel as parent).

The "Option" tick box we can see on the video tutorial just does not appear here, and instead i've this "Option Can Be None" tickbox mentioned in the oppener's post.

I'm not sure they make the same thing. Actually ticking this "Option Can Be None" does not seems to change anything in the way the checkboxes works. They still ignore each other and can be all ticked.

So basically, if putting all our boxes under a same object (a Label, an empty game object, i tried some stuff but without any result) is not enough to make them part of an option group root, where do we specify this option group root ? Is there supposed to be a field where we have to drop our option groop root ? (i mean, the same way we drop an Atlas in the Widget tool for example). Or is it supposed to be automatic when all checkboxes are under a same object in the Hierarchy ?(which means either this "Option" tickbox appears or it isnt needed anymore because it'll work as if it was ticked immediately - because, well, in my case it's not working) Or something else ?

I'd be grateful if you could explain a bit more what you meant with your previous answer. (and also tell me if  the "Option Can Be None" is the "Option" button that changed name for some reason or another one. I've to say i'm a bit confused right now)

I'd apologize if you have to state the obvious. I just don"t get it for now.

(and for my english if there's something wrong. I still have to improve : p)



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Tasharen Advanced Tutorial 2: Radio Check Boxes on /off
« Reply #3 on: November 20, 2012, 03:59:36 PM »
You need to set "Radio Button Root" to be your panel. Just check the 8th tutorial.

2Nails

  • Guest
Re: Tasharen Advanced Tutorial 2: Radio Check Boxes on /off
« Reply #4 on: November 20, 2012, 08:06:42 PM »
Alright! Thank you for your answer, and sorry for the disagreement.