12345678910111213141516171819202122232425 |
- //------------------------------------------------------------
- // Game Framework
- // Copyright © 2013-2021 loyalsoft. All rights reserved.
- // Homepage: http://www.game7000.com/
- // Feedback: http://www.game7000.com/
- //------------------------------------------------------------
- using UnityEngine;
- namespace UnityGameFramework.Runtime
- {
- /// <summary>
- /// 游戏框架组件抽象类。
- /// </summary>
- public abstract class GameFrameworkComponent : MonoBehaviour
- {
- /// <summary>
- /// 游戏框架组件初始化。
- /// </summary>
- protected virtual void Awake()
- {
- GameEntry.RegisterComponent(this);
- }
- }
- }
|