

namespace MotionFramework
{
	public interface IModule
	{
		/// <summary>
		/// 创建模块
		/// </summary>
		void OnCreate(System.Object createParam);

		/// <summary>
		/// 轮询模块
		/// </summary>
		void OnUpdate();

		/// <summary>
		/// 销毁模块
		/// </summary>
		void OnDestroy();

		/// <summary>
		/// GUI绘制
		/// </summary>
		void OnGUI();
	}
}