public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { if ((a == null) || (b == null)) { return(false); } return(((a == b) || a.References(b)) || b.References(a)); }
/// <summary> /// Helper function that determines whether the two atlases are related. /// </summary> static public bool CheckIfRelated(UIAtlas a, UIAtlas b) { if (a == null || b == null) { return(false); } return(a == b || a.References(b) || b.References(a)); }
public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { if ((a == null) || (b == null)) { return false; } return (((a == b) || a.References(b)) || b.References(a)); }
/// <summary> /// Helper function that determines whether the atlas uses the specified one, taking replacements into account. /// </summary> bool References(UIAtlas atlas) { if (atlas == null) { return(false); } if (atlas == this) { return(true); } return((mReplacement != null) ? mReplacement.References(atlas) : false); }
private bool References(UIAtlas atlas) { if (atlas == null) { return(false); } if (atlas == this) { return(true); } return(mReplacement != null && mReplacement.References(atlas)); }
public static Boolean CheckIfRelated(UIAtlas a, UIAtlas b) { if (a == null || b == null) { return(false); } if (!(a == b) && !a.References(b)) { return(b.References(a)); } return(true); }
public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { if ((a == null) || (b == null)) { return(false); } if ((a != b) && !a.References(b)) { return(b.References(a)); } return(true); }
/// <summary> /// Helper function that determines whether the two atlases are related. /// </summary> public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { if (a == null || b == null) return false; return a == b || a.References(b) || b.References(a); }
public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { return(!(a == null) && !(b == null) && (a == b || a.References(b) || b.References(a))); }
public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { return(((a != null) && (b != null)) && (((a == b) || a.References(b)) || b.References(a))); }
public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { if (a == null || b == null) { return false; } return (a == b || a.References(b) ? true : b.References(a)); }
public static bool CheckIfRelated(UIAtlas a, UIAtlas b) { return !(a == null) && !(b == null) && (a == b || a.References(b) || b.References(a)); }
public static Boolean CheckIfRelated(UIAtlas a, UIAtlas b) { return(!(a == (UnityEngine.Object)null) && !(b == (UnityEngine.Object)null) && (a == b || a.References(b) || b.References(a))); }