void StartGame() { Camera.main.orthographic = false; UpdateCamHeight(); targetPos = new Vector3(terrain.width / 2, transform.position.y - camHeight + maxHeight, terrain.length / 2 - terrain.tileSize * 5); camScrollLerpSet = camLerpScrollStart; setStartPos = true; LoadingMenuController.Hide(); }
private void Awake() { Instance = this; LoadingMenuController.Show(); }