mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:27:40 +02:00
Rhythm Rally: Better camera/layer configuration
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user