mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:27:39 +02:00
Shadow colours are much more accurate
This commit is contained in:
@ -29,6 +29,7 @@ namespace RhythmHeavenMania.Games.KarateMan
|
||||
|
||||
public Color[] LightBulbColors;
|
||||
public Color[] BackgroundColors;
|
||||
public static Color ShadowBlendColor = new Color(195f / 255f, 48f / 255f, 2f / 255f);
|
||||
|
||||
const float hitVoiceOffset = 0.042f;
|
||||
|
||||
@ -308,5 +309,12 @@ namespace RhythmHeavenMania.Games.KarateMan
|
||||
shadow.transform.SetAsLastSibling();
|
||||
bomb.GetComponent<Bomb>().shadow = shadow;
|
||||
}
|
||||
|
||||
public Color GetShadowColor()
|
||||
{
|
||||
var col = Color.LerpUnclamped(KarateMan.instance.BGColor, KarateMan.ShadowBlendColor, 0.45f);
|
||||
|
||||
return col;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user