Пример #1
0
 public void ImpactFX(DamageType dmgType)
 {
     if (dmgType.DefaultDmgFX() != null)
     {
         dmgType.DefaultDmgFX().Play(transform, Vector3.zero, m_pool);
     }
     if (m_asset.IsPlayer())
     {
         m_camShakeEvent.Raise();
     }
 }