AkiraPixelWind/Assets/Axibug/Script/Runtime/Base/GameComponent.cs
2022-12-29 18:20:40 +08:00

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);
}
}
}