Moving camera

This commit is contained in:
nexovec committed 2022-01-30 12:29:47 +01:00
1 parent c6a510c8d6
commit bfd8d4fcbc
2 files changed
+6 -3

No files matched your search

+3
View File
@@ -65,6 +65,9 @@ public class UiController : MonoBehaviour
oldDistance = distance;
}
}
public void FixedUpdate(){
this.menuCamera.transform.position = this.menuCamera.transform.position + Vector3.forward * 0.05f;
}
//MENU
public void exitGame()