Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            var other = obj as ApplicationKun;

            if (other == null)
            {
                return(false);
            }
            if (!string.Equals(m_absoluteURL, other.m_absoluteURL))
            {
                return(false);
            }
            if (!string.Equals(m_buildGUID, other.m_buildGUID))
            {
                return(false);
            }
            if (!string.Equals(m_cloudProjectId, other.m_cloudProjectId))
            {
                return(false);
            }
            if (!string.Equals(m_companyName, other.m_companyName))
            {
                return(false);
            }
            if (!string.Equals(m_consoleLogPath, other.m_consoleLogPath))
            {
                return(false);
            }
            if (!string.Equals(m_dataPath, other.m_dataPath))
            {
                return(false);
            }
            if (!bool.Equals(m_genuine, other.m_genuine))
            {
                return(false);
            }
            if (!bool.Equals(m_genuineCheckAvailable, other.m_genuineCheckAvailable))
            {
                return(false);
            }
            if (!string.Equals(m_identifier, other.m_identifier))
            {
                return(false);
            }
            if (!string.Equals(m_installerName, other.m_installerName))
            {
                return(false);
            }
            if (!m_installMode.Equals(other.m_installMode))
            {
                return(false);
            }
            if (!m_internetReachability.Equals(other.m_internetReachability))
            {
                return(false);
            }
            if (!bool.Equals(m_isBatchMode, other.m_isBatchMode))
            {
                return(false);
            }
            if (!bool.Equals(m_isConsolePlatform, other.m_isConsolePlatform))
            {
                return(false);
            }
            if (!bool.Equals(m_isEditor, other.m_isEditor))
            {
                return(false);
            }
            if (!bool.Equals(m_isFocused, other.m_isFocused))
            {
                return(false);
            }
            if (!bool.Equals(m_isMobilePlatform, other.m_isMobilePlatform))
            {
                return(false);
            }
            if (!bool.Equals(m_isPlaying, other.m_isPlaying))
            {
                return(false);
            }
            if (!string.Equals(m_persistentDataPath, other.m_persistentDataPath))
            {
                return(false);
            }
            if (!m_platform.Equals(other.m_platform))
            {
                return(false);
            }
            if (!string.Equals(m_productName, other.m_productName))
            {
                return(false);
            }
            if (!m_sandboxType.Equals(other.m_sandboxType))
            {
                return(false);
            }
            if (!string.Equals(m_streamingAssetsPath, other.m_streamingAssetsPath))
            {
                return(false);
            }
            if (!m_systemLanguage.Equals(other.m_systemLanguage))
            {
                return(false);
            }
            if (!string.Equals(m_temporaryCachePath, other.m_temporaryCachePath))
            {
                return(false);
            }
            if (!string.Equals(m_unityVersion, other.m_unityVersion))
            {
                return(false);
            }
            if (!string.Equals(m_version, other.m_version))
            {
                return(false);
            }
            if (!m_backgroundLoadingPriority.Equals(other.m_backgroundLoadingPriority))
            {
                return(false);
            }
            if (!m_targetFrameRate.Equals(other.m_targetFrameRate))
            {
                return(false);
            }
            if (!bool.Equals(m_runInBackground, other.m_runInBackground))
            {
                return(false);
            }
            if (!bool.Equals(m_isDirty, other.m_isDirty))
            {
                return(false);
            }
            return(true);
        }