Example #1
0
 public void OnLoaded()
 {
     if (this.CategoryTag != null)
     {
         for (int i = 0; i < this.CategoryTag.Length; i++)
         {
             this.CategoryTagCombined |= this.CategoryTag[i];
         }
     }
 }
Example #2
0
 public static bool ContainsTag(this AttackResult.AttackCategoryTag tag, AttackResult.AttackCategoryTag targetTag)
 {
     return((tag & targetTag) != AttackResult.AttackCategoryTag.None);
 }