Flash now renders in fullscreen

This commit is contained in:
Jenny Crowe 2022-03-07 08:58:34 -07:00
parent 9bacb2c4b3
commit a6f2353a92
2 changed files with 0 additions and 2 deletions

View File

@ -62,7 +62,6 @@ namespace RhythmHeavenMania
sp.color = Color.black;
sp.sprite = Resources.Load<Sprite>("Sprites/GeneralPurpose/Square");
sp.sortingOrder = 30000;
this.gameObject.layer = 3;
GameObject fade = new GameObject();
this.fade = fade.AddComponent<Games.Global.Flash>();

View File

@ -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<SpriteRenderer>();