public override void OnEnable() { GlobalMaskList <ButtonEntity> .Add(this, Mask); }
public override void OnDisable() { GlobalMaskList <ButtonEntity> .Remove(this, Mask); }
/// <summary> /// The unmodifyable masked list of <see cref="GlobalMaskList{ButtonEntity} at <paramref name="index"/>"/>. /// </summary> public static IReadOnlyCollection <ButtonEntity> GetMaskedList(int index) { return(GlobalMaskList <ButtonEntity> .GetMaskedList(index)); }