Question by 
               Ducky-jr · Sep 18, 2020 at 04:45 PM · 
                c#scripting problemeditorvariablecustom-inspector  
              
 
              Custom inspector. Pick one bool from a list.
I want to have a couple of public bool variables, but only be able to pick one of them. Like if I pick one the rest should turn off. I was wondering if this was possible.
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by BenWiller1989 · Sep 18, 2020 at 05:43 PM
Use a Selection Grid for your editor script : intVariable = GUILayout. SelectionGrid(intVariable,stringArrayVariable,amountIntOfHorizontalToggles,"toggle") ; 
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                