33 lines
914 B
C#
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
|
|
{
|
|
|
|
} |