コード例 #1
0
 internal void OnMoveResultsHitActor(ActorData target)
 {
     if (m_effectResults != null)
     {
         m_effectResults.OnEffectHitActor(target);
     }
     else if (m_barrierResults != null)
     {
         m_barrierResults.OnBarrierHitActor(target);
     }
     else if (m_powerupResults != null)
     {
         m_powerupResults.OnAbilityHitActor(target);
     }
     else
     {
         if (m_gameModeResults == null)
         {
             return;
         }
         m_gameModeResults.OnAbilityHitActor(target);
     }
 }
コード例 #2
0
 internal void OnPowerupHitActor(ActorData target)
 {
     m_powerupAbilityResults.OnAbilityHitActor(target);
 }