19 lines
531 B
C#
19 lines
531 B
C#
using SepCore.CustomComponent;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// 游戏入口。
|
|
/// </summary>
|
|
public partial class GameEntry : MonoBehaviour
|
|
{
|
|
public static BuiltinDataComponent BuiltinData { get; private set; }
|
|
|
|
public static LubanComponent Luban { get; private set; }
|
|
|
|
private static void InitCustomComponents()
|
|
{
|
|
BuiltinData = UnityGameFramework.Runtime.GameEntry.GetComponent<BuiltinDataComponent>();
|
|
Luban = UnityGameFramework.Runtime.GameEntry.GetComponent<LubanComponent>();
|
|
}
|
|
}
|