mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
Flash now renders in fullscreen
This commit is contained in:
parent
9bacb2c4b3
commit
a6f2353a92
2 changed files with 0 additions and 2 deletions
|
@ -62,7 +62,6 @@ namespace RhythmHeavenMania
|
||||||
sp.color = Color.black;
|
sp.color = Color.black;
|
||||||
sp.sprite = Resources.Load<Sprite>("Sprites/GeneralPurpose/Square");
|
sp.sprite = Resources.Load<Sprite>("Sprites/GeneralPurpose/Square");
|
||||||
sp.sortingOrder = 30000;
|
sp.sortingOrder = 30000;
|
||||||
this.gameObject.layer = 3;
|
|
||||||
|
|
||||||
GameObject fade = new GameObject();
|
GameObject fade = new GameObject();
|
||||||
this.fade = fade.AddComponent<Games.Global.Flash>();
|
this.fade = fade.AddComponent<Games.Global.Flash>();
|
||||||
|
|
|
@ -27,7 +27,6 @@ namespace RhythmHeavenMania.Games.Global
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
this.gameObject.transform.SetParent(GameManager.instance.gameObject.transform);
|
this.gameObject.transform.SetParent(GameManager.instance.gameObject.transform);
|
||||||
this.gameObject.layer = 3;
|
|
||||||
this.gameObject.transform.localScale = new Vector3(1, 1);
|
this.gameObject.transform.localScale = new Vector3(1, 1);
|
||||||
|
|
||||||
spriteRenderer = this.gameObject.AddComponent<SpriteRenderer>();
|
spriteRenderer = this.gameObject.AddComponent<SpriteRenderer>();
|
||||||
|
|
Loading…
Reference in a new issue