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