void Start() { cameraController = FindObjectOfType<CameraController>(); snakeStarter = FindObjectOfType<RotateForward>(); cameraLerper = FindObjectOfType<LerpToCameraPoint>(); StartCoroutine(rotateGlobe()); }
void Awake() { DontDestroyOnLoad(transform.gameObject); if (photonView.isMine) { rotationDevice = GameObject.FindGameObjectWithTag("RotationDevice"); finalSpeeder = FindObjectOfType<RotateForward>(); } else { trail = GetComponentInChildren<Trail>(); } }
void Start() { snake = FindObjectOfType<SnakeController>(); speedLocker = FindObjectOfType<RotateForward>(); inputDriver = FindObjectOfType<InputDriver>(); }