void Awake() { tunnel = GameObject.Find("Tunnel").GetComponent <ObstacleSpawner> (); center = tunnel.GetCenter(); roofY = tunnel.GetTunnelLimits() [3]; }