New graphics and general polish
Also fixed visual pickup bugs Sets up bloom effects and materials UI and ux adjustments/polish
This commit is contained in:
@@ -15,6 +15,9 @@ public class NoTrail : Pickup
|
||||
|
||||
public override void OnPickup()
|
||||
{
|
||||
//hide sprite renderer
|
||||
gameObject.GetComponent<SpriteRenderer>().enabled = false;
|
||||
|
||||
player.trail.SetActive(false);
|
||||
|
||||
}
|
||||
|
||||
@@ -13,6 +13,9 @@ public class Slowmotion : Pickup
|
||||
Debug.Log("Slowmotion");
|
||||
isSlow = true;
|
||||
Time.timeScale = Time.timeScale * slowFactor;
|
||||
|
||||
//disable sprite renderer
|
||||
GetComponent<SpriteRenderer>().enabled = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user