mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:47:38 +02:00
Added coloured shadows to Karate Man
This is very pogchamp!
This commit is contained in:
@ -18,6 +18,7 @@ namespace RhythmHeavenMania.Games.KarateMan
|
||||
[SerializeField] private SpriteRenderer head;
|
||||
[SerializeField] private Sprite[] heads;
|
||||
[SerializeField] private GameObject missEffect;
|
||||
[SerializeField] private SpriteRenderer[] shadows;
|
||||
|
||||
[Header("Properties")]
|
||||
public bool hitBarrel = false;
|
||||
@ -168,6 +169,11 @@ namespace RhythmHeavenMania.Games.KarateMan
|
||||
Swing(null);
|
||||
}
|
||||
}
|
||||
|
||||
for(int i=0;i < shadows.Length; i++)
|
||||
{
|
||||
shadows[i].color = Color.Lerp(KarateMan.instance.BGColor, new Color(35 / 255, 75 / 255, 1 / 255), 0.25f);
|
||||
}
|
||||
}
|
||||
|
||||
public void Combo(Pot p)
|
||||
|
Reference in New Issue
Block a user