コード例 #1
0
 public void Invoke <T1, T2>(MessagerRegister register, T1 t1, T2 t2)
 {
     if (!IsRemove)
     {
         ((Action <Body, T1, T2>)Handler).Invoke(new Body(Id, Handler, register), t1, t2);
     }
 }
コード例 #2
0
 public void Invoke <T1, T2, T3, T4, T5>(MessagerRegister register, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)
 {
     if (!IsRemove)
     {
         ((Action <Body, T1, T2, T3, T4, T5>)Handler).Invoke(new Body(Id, Handler, register), t1, t2, t3, t4, t5);
     }
 }
コード例 #3
0
 public void Invoke(MessagerRegister register)
 {
     if (!IsRemove)
     {
         ((Action <Body>)Handler).Invoke(new Body(Id, Handler, register));
     }
 }
コード例 #4
0
 public void OnInit()
 {
     m_Dispose      = false;
     m_Timer        = new TimerRegister();
     m_Updater      = new UpdaterRegister();
     m_LateUpdater  = new UpdaterRegister();
     m_FixedUpdater = new UpdaterRegister();
     m_Messager     = new MessagerRegister();
     m_Features     = new FeatureRegister(this);
     m_Entities     = new Entities(this);
     Init();
 }
コード例 #5
0
 public Body(int id, Delegate handler, MessagerRegister register)
 {
     m_Id       = id;
     m_Handler  = handler;
     m_Register = register;
 }