- Home /
 
               Question by 
               nightshade1 · Feb 20, 2012 at 03:21 AM · 
                javascriptgetcomponentbooleans  
              
 
              ren]er cube problem
: 79
render cube problem
Posted: 11:40 AM 7 Hours Ago
when i make this script
Code:
var nxtlvl : boolean = false;
function React ()
{ nxtlvl = true; } function Update () { if(nxtlvl) { GetComponent (MeshRenderer); }
}
i know the boolean works but the getcomponent doesn't work because i need a cube to render any ideas?
sorry if the code looks qierd unity answers formts things strangley
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                