mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:47:37 +02:00
Spaceball: Proper cap for end value of camera zoom
This commit is contained in:
@ -85,9 +85,9 @@ namespace RhythmHeavenMania.Games.Spaceball
|
||||
|
||||
if (normalizedBeat >= 0)
|
||||
{
|
||||
if (normalizedBeat > Minigame.EndTime())
|
||||
if (normalizedBeat > 1)
|
||||
{
|
||||
// lastCamDistance = GameCamera.instance.camera.transform.localPosition.z;
|
||||
GameCamera.instance.camera.transform.localPosition = new Vector3(0, 0, currentZoomCamDistance);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user