/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { var other = obj as TransformKun; if (other == null) { return(false); } if (m_localPosition.Equals(other.m_localPosition) == false) { return(false); } if (m_localRotation.Equals(other.m_localRotation) == false) { return(false); } if (m_localScale.Equals(other.m_localScale) == false) { return(false); } if (m_parentInstanceID.Equals(other.parentInstanceID) == false) { return(false); } if (childCount.Equals(other.childCount) == false) { return(false); } return(base.Equals(obj)); }
/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { var other = obj as BoundsKun; if (other == null) { return(false); } if (!Vector3Kun.Equals(m_center, other.m_center)) { return(false); } if (!Vector3Kun.Equals(m_size, other.m_size)) { return(false); } return(true); }