Example #1
0
 // Use this for initialization
 void Start()
 {
     car_script = GameObject.Find("Car").GetComponent <ArcadeCar>();
     //textbox = scorebox.GetComponent<Text>();
     //textbox.text = "==========Scoreboard==========\n" + car_script.top5ScoresString;
     //textbox.text += car_script.top5ScoresString;
 }
Example #2
0
 void Start()
 {
     cameraComponent = GetComponent <Camera>();
     if (target != null)
     {
         carComponent = target.GetComponent <ArcadeCar>();
     }
     curPos = transform.position;
 }
 // Use this for initialization
 void Start()
 {
     qtext = GameObject.Find("PostSurveyQText");
     etext = GameObject.Find("PostSurveyEText");
     ebtn  = GameObject.Find("PostSurveyRetry");
     panel = GameObject.Find("Panel (Post-Game Survey)");
     car   = GameObject.Find("Car").GetComponent <ArcadeCar>();
     car.postGameSurvey = this;
     toggle_group       = GameObject.Find("PostSurveyToggleGroup").GetComponent <ToggleGroup>();
     hide();
 }
 // Use this for initialization
 void Start()
 {
     btnTxt     = GameObject.Find("StartButtonText");
     car_script = GameObject.Find("Car").GetComponent <ArcadeCar>();
 }
Example #5
0
 // Use this for initialization
 void Start()
 {
     car_script = GameObject.Find("Car").GetComponent <ArcadeCar>();
 }
Example #6
0
 void Start()
 {
     _car = GetComponent <ArcadeCar>();
 }
Example #7
0
 void Start()
 {
     _arcadecar = GetComponentInParent <ArcadeCar>();
 }