2025-12-22 18:36:29 -05:00
|
|
|
using System;
|
2025-11-25 08:19:33 -05:00
|
|
|
using Cielonos.MainGame.Characters;
|
|
|
|
|
using SLSFramework.General;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Cielonos.MainGame
|
|
|
|
|
{
|
|
|
|
|
public partial class MainGameManager : Singleton<MainGameManager>
|
|
|
|
|
{
|
|
|
|
|
public Player player;
|
|
|
|
|
public CharacterBase testEnemy;
|
|
|
|
|
public BasePrefabsCollection basePrefabs;
|
|
|
|
|
public PostProcessingManager postProcessingManager;
|
|
|
|
|
|
|
|
|
|
protected override void Awake()
|
|
|
|
|
{
|
|
|
|
|
base.Awake();
|
2025-12-22 18:36:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Start()
|
|
|
|
|
{
|
2026-01-12 03:22:16 -05:00
|
|
|
Application.targetFrameRate = 90;
|
2025-11-25 08:19:33 -05:00
|
|
|
}
|
2025-12-23 19:47:06 -05:00
|
|
|
|
|
|
|
|
private void Update()
|
|
|
|
|
{
|
|
|
|
|
float frame = 1.0f / Application.targetFrameRate;
|
|
|
|
|
if (frame < 10f && Time.time > 5f)
|
|
|
|
|
{
|
|
|
|
|
//Debug.Break();
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-11-25 08:19:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public partial class MainGameManager
|
|
|
|
|
{
|
|
|
|
|
public static Player Player => Instance.player;
|
|
|
|
|
public static BasePrefabsCollection BasePrefabs => Instance.basePrefabs;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace Cielonos.MainGame
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|