예제 #1
0
 /// <summary>
 /// 设置好message模块时
 /// </summary>
 /// <param name="message"></param>
 protected override void OnSetMessage(MessageModule message)
 {
     message.Subscribe <SensorSystem>(OnSensor);
 }
예제 #2
0
 /// <summary>
 /// 设置好message模块时
 /// </summary>
 /// <param name="message"></param>
 protected override void OnSetMessage(MessageModule message)
 {
     message.Subscribe <PolicyExecutorSystem>(OnPolicyPolicyExecutor);
 }