- Home /
 
 
               Question by 
               Gtazinho100 · Jul 28, 2015 at 04:25 AM · 
                cameravariablechangetargetstandard-assets  
              
 
              How to change Target of camera from Standard Assets
I'm using script of camera of standard asset. But the target's variable is protected, how can i change the target from another script? Sorry for the terrible inglish.
               Comment
              
 
               
              Answer by YoungDeveloper · Jul 28, 2015 at 04:26 AM
change protected to public, or create set/get methods or Property.
Your answer
 
             Follow this Question
Related Questions
how can i make the main cam smooth follow a new prefab that i add after the game start . 5 Answers
Changing camera target of CarSmoothFollow ( Js to c#) 0 Answers
Changing Target Depending On Car Selected 1 Answer
camera target keep angle and y position 1 Answer
The variables and functions 2 Answers