public bool Equals(AudioListenerData other) { if (other.audioListener == null && audioListener == null) { return(true); } else if (other.audioListener == null) { return(false); } else if (audioListener == null) { return(false); } return(audioListener.Equals(other.audioListener)); }