public float getMultiplier(ResolutionEntryVO originalResolution) { float mul; if(baseResolution == 0) { mul = (float)originalResolution.width/width; } else { mul = (float)originalResolution.height/height; } return mul; }
public float getMultiplier(ResolutionEntryVO originalResolution) { float mul; if (baseResolution == 0) { mul = (float)originalResolution.width / width; } else { mul = (float)originalResolution.height / height; } return(mul); }
public override bool Equals(Object obj) { if (obj == null) { return(false); } ResolutionEntryVO other = obj as ResolutionEntryVO; if ((System.Object)other == null) { return(false); } return(other.name.Equals(name)); }