示例#1
0
 private static void PlayScoreShotParticleEffect(ScoreThreshold key)
 {
     if (key == ScoreThreshold.Medium)
     {
         GameResources.PlayEffect("Score Shot 1", Vector3.zero);
     }
     else if (key == ScoreThreshold.High)
     {
         GameResources.PlayEffect("Score Shot 2", Vector3.zero);
     }
     else if (key == ScoreThreshold.VeryHigh)
     {
         GameResources.PlayEffect("Score Shot 3", Vector3.zero);
     }
 }
示例#2
0
 /// <summary>
 /// Get this DeckFilters objects, hash code.
 /// </summary>
 /// <returns>The hash code.</returns>
 public override int GetHashCode()
 {
     return
         (HideFromCollection.GetHashCode() |
          HideMissingWildcards.GetHashCode() << 1 |
          HideMissingCards.GetHashCode() << 2 |
          HideIncompleteReplacements.GetHashCode() << 3 |
          HideScoreThreshold.GetHashCode() << 4 |
          ScoreThreshold.GetHashCode() << 5 |
          HideGamesRecorded.GetHashCode() << 10 |
          GamesThreshold.GetHashCode() << 11 |
          HideMythic.GetHashCode() << 14 |
          MythicCount.GetHashCode() << 15 |
          HideRare.GetHashCode() << 18 |
          RareCount.GetHashCode() << 19 |
          HideUncommon.GetHashCode() << 22 |
          UncommonCount.GetHashCode() << 23 |
          HideCommon.GetHashCode() << 26 |
          CommonCount.GetHashCode() << 27);
 }