Files
Cielonos/Assets/Scripts/MainGame/Managers/MainGameManager.cs
SoulliesOfficial ef7b479712 initial
2025-11-25 08:19:33 -05:00

33 lines
914 B
C#

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();
Application.targetFrameRate = 120;
}
}
public partial class MainGameManager
{
public static Player Player => Instance.player;
public static float PlayerTimeScale => Instance.player.selfTimeSm.TimeScale;
public static float PlayerDeltaTime => Instance.player.selfTimeSm.DeltaTime;
public static BasePrefabsCollection BasePrefabs => Instance.basePrefabs;
}
}
namespace Cielonos.MainGame
{
}