// Use this for initialization void Awake() { current = this; uniqueLanes = new List <int>(); finishedList = new List <int>(); float upDownDistance = BobbyController.getUpdownDistance(); lane3 = new Vector2(spawnPos2, bobby.transform.position.y); lane2 = new Vector2(lane3.x, lane3.y + upDownDistance); lane1 = new Vector2(lane3.x, lane2.y + upDownDistance); lane4 = new Vector2(lane3.x, lane3.y - upDownDistance); }
private void getResolutionInWorldUnits() { fullScreen = BobbyController.getFullScreen(); }
// Use this for initialization void Awake() { bc = Bobby.GetComponent <BobbyController> (); }