- Home /
 
 
               Question by 
               AlexaFuture · Mar 25, 2011 at 05:39 PM · 
                errorsyntax-errorbce0043unexpected-token  
              
 
              Unexpected token: ..
Prblem with :
Unexpected token: ..
I'm using code :
var Camera.main = GameObject.Find("Camera");
What wrong ?
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by Mike 3 · Mar 25, 2011 at 05:48 PM
Variable names can't have . in
Also - Camera.main is already set to be an active camera with the Main Camera tag set
Your answer