using System.Collections.Generic;
namespace ET
{
///
/// 消息分发组件
///
[ComponentOf(typeof(Scene))]
public class MessageDispatcherComponent: Entity, IAwake, IDestroy, ILoad
{
public static MessageDispatcherComponent Instance
{
get;
set;
}
public readonly Dictionary> Handlers = new Dictionary>();
}
}