bool References (UIAtlas atlas) { if (atlas == null) return false; if (atlas == this) return true; return (mReplacement != null) ? mReplacement.References(atlas) : false; }
public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { if ((a == null) || (b == null)) { return(false); } return(((a == b) || a.References(b)) || b.References(a)); }