/// <summary> /// Helper function that determines whether the two atlases are related. /// </summary> public static bool CheckIfRelated(NGUIFont a, NGUIFont b) { if (a == null || b == null) return false; if (a.isDynamic && a.dynamicTexture == b.dynamicTexture) return true; return a == b || a.References(b) || b.References(a); }