Question by 
               Archemicus · Sep 25, 2015 at 02:34 PM · 
                javascripttextvariable  
              
 
              Show in text certain variables
I have all this variables #pragma strict
 public var pasta : int;
 public var verdura : int;
 public var ensaladamenu : int;
 public var verde : int;
 public var sopa : int;
 public var crema : int;
 public var ternera : int;
 public var hamburguesa : int;
 public var guisado : int;
 public var galtas : int;
 public var peix : int;
 public var lomo : int;
 public var pollo : int;
 public var arroz : int;
 public var arroz2 : int;
 public var pasta2 : int;
 public var verdura2 : int;
 
 
 function Start () {
 
 }
Now i want that only the variables with 1 or more to be visible and be together in text like this: 1 Bistec 2 Pasta 5 Verdura How can i do it? I can't find anything... Help please and thx
               Comment
              
 
               
              The question is not clear. Where do you want your variables to be visible ? In the inspector ?
Why do you want to group them ? Where ? How ?
You may take a look at custom inspector
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                