58 lines
1.5 KiB
C#
58 lines
1.5 KiB
C#
|
|
using System;
|
||
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using Ichni;
|
||
|
|
using Ichni.RhythmGame;
|
||
|
|
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;
|
||
|
|
|
||
|
|
public Canvas judgeHintCanvas;
|
||
|
|
public GameUIController gameUIController;
|
||
|
|
|
||
|
|
public float songTime => audioManager.musicPlayer.songTimeSegment;
|
||
|
|
|
||
|
|
public bool isDebugging;
|
||
|
|
|
||
|
|
private void Awake()
|
||
|
|
{
|
||
|
|
instance = this;
|
||
|
|
playingRecorder = new PlayingRecorder();
|
||
|
|
}
|
||
|
|
|
||
|
|
private void Start()
|
||
|
|
{
|
||
|
|
projectLoader.TestLoad();
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|