Files
ichni_Official/Assets/Scripts/Manager/GameManager.cs

59 lines
1.6 KiB
C#
Raw Normal View History

2025-06-03 02:42:28 -04:00
using System;
using System.Collections;
using System.Collections.Generic;
using Ichni.RhythmGame;
2025-07-08 14:28:40 -04:00
using Ichni.RhythmGame.UI;
2025-06-03 02:42:28 -04:00
using Sirenix.OdinInspector;
using UnityEngine;
namespace Ichni
{
public class GameManager : SerializedMonoBehaviour
{
public static GameManager instance;
public AudioManager audioManager;
public CameraManager cameraManager;
public InputManager inputManager;
public BackgroundSetter backgroundSetter;
public BackgroundController backgroundController;
public VariablesContainer variablesContainer;
public PostProcessingManager postProcessingManager;
public ProjectLoader projectLoader;
public PlayingRecorder playingRecorder;
public BeatmapContainer beatmapContainer;
public CommandScripts commandScripts;
public ProjectInformation projectInformation;
public SongInformation songInformation;
public BasePrefabsCollection basePrefabs;
2025-07-08 14:28:40 -04:00
[Title("UI")]
2025-06-03 02:42:28 -04:00
public Canvas judgeHintCanvas;
2025-07-08 14:28:40 -04:00
public GameUICanvas gameUICanvas;
public GameLoadingCanvas gameLoadingCanvas;
public SummaryPageCanvas summaryPageCanvas;
2025-06-03 02:42:28 -04:00
2025-06-06 10:14:55 -04:00
public float songTime => audioManager.songPlayer.songTimeSegment;
2025-06-03 02:42:28 -04:00
public bool isDebugging;
private void Awake()
{
instance = this;
playingRecorder = new PlayingRecorder();
}
private void Start()
{
projectLoader.TestLoad();
}
}
}