using CustomComponent;
using Simulation;
using UnityEngine;
///
/// 游戏入口。
///
public partial class GameEntry : MonoBehaviour
{
public static BuiltinDataComponent BuiltinData { get; private set; }
public static HPBarComponent HPBar { get; private set; }
public static DamageTextComponent DamageText { get; private set; }
public static EnemyManagerComponent EnemyManager { get; private set; }
public static SimulationWorld SimulationWorld { get; private set; }
public static SpriteCacheComponent SpriteCache { get; private set; }
public static UIRouterComponent UIRouter { get; private set; }
private static void InitCustomComponents()
{
BuiltinData = UnityGameFramework.Runtime.GameEntry.GetComponent();
HPBar = UnityGameFramework.Runtime.GameEntry.GetComponent();
DamageText = UnityGameFramework.Runtime.GameEntry.GetComponent();
EnemyManager = UnityGameFramework.Runtime.GameEntry.GetComponent();
SimulationWorld = UnityGameFramework.Runtime.GameEntry.GetComponent();
SpriteCache = UnityGameFramework.Runtime.GameEntry.GetComponent();
UIRouter = UnityGameFramework.Runtime.GameEntry.GetComponent();
}
}