mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 05:35:08 +00:00
Spaceball: Proper cap for end value of camera zoom
This commit is contained in:
parent
163c431ce1
commit
5d76ffc918
1 changed files with 2 additions and 2 deletions
|
@ -85,9 +85,9 @@ namespace RhythmHeavenMania.Games.Spaceball
|
||||||
|
|
||||||
if (normalizedBeat >= 0)
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue