// 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; }
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>(); }
// Use this for initialization void Start() { car_script = GameObject.Find("Car").GetComponent <ArcadeCar>(); }
void Start() { _car = GetComponent <ArcadeCar>(); }
void Start() { _arcadecar = GetComponentInParent <ArcadeCar>(); }