private void SetupBackgrounds() { bg1 = GetGameObject(new Vector3(-2.25f, 0.5f), "Background 1", Resources.Load <Sprite> (SpritePaths.DefaultBG), false, "BG0"); bg1.transform.localScale /= 2.5f; originalRect = bg1.GetComponent <SpriteRenderer>().sprite.rect; UpdateBackground(true); bg2 = GetGameObject(new Vector3(2.25f, 0.5f), "Background 2", Resources.Load <Sprite> (SpritePaths.DefaultBG), false, "BG0"); bg2.transform.localScale /= 2.5f; UpdateBackground(false); GetGameObject(Vector3.zero, "Background Cover", Resources.Load <Sprite>(SpritePaths.BGBlackFadeCharSel), false, "BG1"); onlineBackground = GetGameObject(new Vector3(2f, 0f), "Lobby Cover", Resources.Load <Sprite>(SpritePaths.BGBlackFadeCharSel), false, "BG1"); lobbyCursor = GetMenuCursor(1, 9, SpritePaths.RightArrows, 2f, 0.253f, 0f, 0.195f, 0, 8, 1, 0); lobbyCursor.HalfSize(); lobbyCursor.SetVisibility(false); onlineBackground.SetActive(PD.gameType == PersistData.GT.Online); }