// Use this for initialization void Start() { camController = Camera.main.GetComponent <DetroitCameraController>(); carController = Car.GetComponent <CarControllerPhysics>(); Player = Car.GetComponent <DetroitPlayer>(); uiManager = canvas.GetComponent <DetroitUIManager>(); StartCoroutine(IntroSequence()); }
// Use this for initialization void Start() { cam = Camera.main; cameraPath = (CPC_CameraPath)cam.GetComponent <CPC_CameraPath>(); introPlayed = false; introPanEnded = false; uiManager = canvas.GetComponent <DetroitUIManager>(); gameManager = GameManager.GetComponent <DetroitGameManager>(); }