From a6f2353a925e7608354060c7e23113a8a4f91cee Mon Sep 17 00:00:00 2001 From: Jenny Crowe Date: Mon, 7 Mar 2022 08:58:34 -0700 Subject: [PATCH] Flash now renders in fullscreen --- Assets/Scripts/GameManager.cs | 1 - Assets/Scripts/Games/Global/Flash.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/Assets/Scripts/GameManager.cs b/Assets/Scripts/GameManager.cs index a244b34b..9109a5f6 100644 --- a/Assets/Scripts/GameManager.cs +++ b/Assets/Scripts/GameManager.cs @@ -62,7 +62,6 @@ namespace RhythmHeavenMania sp.color = Color.black; sp.sprite = Resources.Load("Sprites/GeneralPurpose/Square"); sp.sortingOrder = 30000; - this.gameObject.layer = 3; GameObject fade = new GameObject(); this.fade = fade.AddComponent(); diff --git a/Assets/Scripts/Games/Global/Flash.cs b/Assets/Scripts/Games/Global/Flash.cs index 9a8ddba8..7737918a 100644 --- a/Assets/Scripts/Games/Global/Flash.cs +++ b/Assets/Scripts/Games/Global/Flash.cs @@ -27,7 +27,6 @@ namespace RhythmHeavenMania.Games.Global private void Start() { this.gameObject.transform.SetParent(GameManager.instance.gameObject.transform); - this.gameObject.layer = 3; this.gameObject.transform.localScale = new Vector3(1, 1); spriteRenderer = this.gameObject.AddComponent();