mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:17:39 +02:00
Camera filters (#242)
* Spaceball cleanup and small bug fix * Replace old hit sound in spaceball * Camera filters * added 9 new filters, including 3 types of sepia * oops * remark * normalization of fade out and fade in on filters are by 100 * GenerateFilterTypeEnum comments
This commit is contained in:
@ -26,6 +26,7 @@ namespace HeavenStudio
|
||||
public CircleCursor CircleCursor;
|
||||
[HideInInspector] public GameObject GamesHolder;
|
||||
public Games.Global.Flash fade;
|
||||
public Games.Global.Filter filter;
|
||||
public GameObject textbox;
|
||||
|
||||
[Header("Games")]
|
||||
@ -109,8 +110,10 @@ namespace HeavenStudio
|
||||
sp.sortingOrder = 30000;
|
||||
gameObject.layer = LayerMask.NameToLayer("Flash");
|
||||
|
||||
GameObject fade = new GameObject();
|
||||
GameObject fade = new GameObject("flash");
|
||||
this.fade = fade.AddComponent<Games.Global.Flash>();
|
||||
GameObject filter = new GameObject("filter");
|
||||
this.filter = filter.AddComponent<Games.Global.Filter>();
|
||||
|
||||
|
||||
GlobalGameManager.Init();
|
||||
|
Reference in New Issue
Block a user