private void Start() { scoreScript = FindObjectOfType <ScoreScript>(); moveScript = FindObjectOfType <MoveScript>(); spawnerScript = FindObjectOfType <SpawnerScript>(); infiniScoreScript = FindObjectOfType <InfiniScoreScript>(); carScript = FindObjectOfType <CarScript>(); }
private void Start() { carScript = FindObjectOfType <CarScript>(); infiniScoreScript = FindObjectOfType <InfiniScoreScript>(); }