Moving camera

This commit is contained in:
2022-01-30 12:29:47 +01:00
parent c6a510c8d6
commit bfd8d4fcbc
2 changed files with 6 additions and 3 deletions

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()