mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
20 lines
382 B
C#
20 lines
382 B
C#
using UnityEngine;
|
|
|
|
namespace QSB.Utility
|
|
{
|
|
internal class DebugCameraSettings : MonoBehaviour
|
|
{
|
|
void Start()
|
|
{
|
|
if (QSBCore.GreySkybox)
|
|
{
|
|
QSBSceneManager.OnSceneLoaded += OnSceneLoaded;
|
|
Camera.main.backgroundColor = Color.gray;
|
|
}
|
|
}
|
|
|
|
private void OnSceneLoaded(OWScene arg1, OWScene arg2, bool arg3)
|
|
=> Camera.main.backgroundColor = Color.gray;
|
|
}
|
|
}
|