Files
Cielonos/Assets/Scripts/MainGame/Managers/MainGameManager.cs
SoulliesOfficial 50ee502684 完善
2026-02-13 09:22:11 -05:00

46 lines
1.0 KiB
C#

using System;
using Cielonos.Core;
using Cielonos.MainGame.Characters;
using SLSUtilities.General;
using UnityEngine;
using UnityEngine.Serialization;
namespace Cielonos.MainGame
{
public partial class MainGameManager : Singleton<MainGameManager>
{
public Player player;
public MainGameBaseCollection baseCollection;
public PostProcessingManager postProcessingManager;
protected override void Awake()
{
base.Awake();
}
private void Start()
{
Application.targetFrameRate = 90;
}
private void Update()
{
float frame = 1.0f / Application.targetFrameRate;
if (frame < 10f && Time.time > 5f)
{
//Debug.Break();
}
}
}
public partial class MainGameManager
{
public static Player Player => Instance.player;
public static MainGameBaseCollection BaseCollection => Instance.baseCollection;
}
}
namespace Cielonos.MainGame
{
}