IndieGame/client/Assets/Ether/Scripts/Boot.cs

42 lines
948 B
C#
Raw Normal View History

2024-10-11 10:12:15 +08:00
/********************************************************************
: Boot.cs
:
: 1982614048@qq.com
: 2024/03/29 17:28:19
:
: 2024/04/07 09:38:53
:
*********************************************************************/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ether
{
2024-11-01 14:07:47 +08:00
public class Boot : Entity
2024-10-11 10:12:15 +08:00
{
private void Start()
{
PoolManager.Inst.Init();
//SqliteManager.Inst.Connect();
2024-10-11 10:12:15 +08:00
AudioManager.Inst.Init();
EtherInputManager.Inst.Init();
2024-10-11 10:12:15 +08:00
UIManager.Inst.Init();
Application.runInBackground = true;
OnInit();
}
protected virtual void OnInit()
2024-10-11 10:12:15 +08:00
{
}
private void OnDestroy()
{
//SqliteManager.Inst.DisConnect();
2024-10-11 10:12:15 +08:00
}
}
}