45 lines
1.0 KiB
C#
45 lines
1.0 KiB
C#
using System;
|
|
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();
|
|
}
|
|
|
|
private void Start()
|
|
{
|
|
Application.targetFrameRate = 60;
|
|
}
|
|
|
|
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 BasePrefabsCollection BasePrefabs => Instance.basePrefabs;
|
|
}
|
|
}
|
|
|
|
namespace Cielonos.MainGame
|
|
{
|
|
|
|
} |