19 lines
390 B
C#
19 lines
390 B
C#
using UnityEngine;
|
|
|
|
namespace Axibug.Runtime
|
|
{
|
|
/// <summary>
|
|
/// 游戏框架组件抽象类。
|
|
/// </summary>
|
|
public abstract class GameComponent : MonoBehaviour
|
|
{
|
|
/// <summary>
|
|
/// 游戏框架组件初始化。
|
|
/// </summary>
|
|
protected virtual void Awake()
|
|
{
|
|
GameEntry.RegisterComponent(this);
|
|
}
|
|
}
|
|
}
|