mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 00:37:37 +02:00
DJ School sounds
This commit is contained in:
26
Assets/Scripts/GameCamera.cs
Normal file
26
Assets/Scripts/GameCamera.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RhythmHeavenMania
|
||||
{
|
||||
public class GameCamera : MonoBehaviour
|
||||
{
|
||||
public static GameCamera instance { get; private set; }
|
||||
public new Camera camera;
|
||||
|
||||
[Header("Components")]
|
||||
public Color baseColor;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
camera = this.GetComponent<Camera>();
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
camera.backgroundColor = baseColor;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user