Rhythm Rally: Better camera/layer configuration

This commit is contained in:
Jenny Crowe
2022-02-12 10:16:50 -07:00
parent 42b58051e9
commit 5cd14a2cb4
3 changed files with 304 additions and 18 deletions

View File

@ -29,6 +29,8 @@ namespace RhythmHeavenMania.Games.RhythmRally
// Start is called before the first frame update
void Start()
{
renderQuadTrans.gameObject.SetActive(true);
var cam = GameCamera.instance.camera;
var camHeight = 2f * cam.orthographicSize;
var camWidth = camHeight * cam.aspect;