3D Camera and Viewport Position Update Fixes (#579)

* Fixed Camera in Rhythm Rally and BTSDS

* commet out log

* fixed viewport not updating canvas in onBeatChanged
This commit is contained in:
Rapandrasmus
2023-11-21 17:57:03 +01:00
committed by GitHub
parent 240d098ac3
commit 7481f32c16
17 changed files with 156 additions and 83 deletions

View File

@ -392,7 +392,7 @@ namespace HeavenStudio.Games
public void SetZoom(int zoom)
{
GameCamera.additionalPosition = new Vector3(0, 0, (ZoomPresets)zoom switch
GameCamera.AdditionalPosition = new Vector3(0, 0, (ZoomPresets)zoom switch
{
ZoomPresets.Regular => 0,
ZoomPresets.NotThatFar => -4.5f,