Exemplo n.º 1
0
        /// <summary>
        /// Init this instance. Shows build date and version number.
        /// </summary>
        private static void Init()
        {
#if UNITY_IPHONE
            string sNotice = "(iOS) RealSpace3D version: 3.0.1\nvsEngine version: 5.0.20170901";
#else
            int nBuildDate    = _theSwitcher.GetBuildDate();
            int nVersionMajor = _theSwitcher.GetVersionMajor();
            int nVersionMinor = _theSwitcher.GetVersionMinor();

            GetRS3DVersion theRS3DVersion = new GetRS3DVersion();

            string sNotice = "RealSpace3D version: " + theRS3DVersion.FormatVersion() + "\nVsEngine version: v" + nVersionMajor.ToString() + "." + nVersionMinor.ToString() + "." + nBuildDate.ToString() + "\n\nPlease visit www.realspace3daudio.com forum for updates and answers. Request license, report bugs, or direct general questions to [email protected]" + "\n\nVisiSonics, Inc. Copyright 2011 - 2017";
#endif

            EditorUtility.DisplayDialog("RealSpace3D Copyright 2011 - 2018", sNotice, "Ok");
        }
        private static void Init()
        {
            #if UNITY_IPHONE
            string sNotice = "(iOS) RealSpace3D version: 0.10.7\nvsEngine version: 3.9.20150626";
            #else
            int nBuildDate = 	_theSwitcher.GetBuildDate();
            int nVersionMajor = _theSwitcher.GetVersionMajor();
            int nVersionMinor = _theSwitcher.GetVersionMinor();

            GetRS3DVersion theRS3DVersion = new GetRS3DVersion();

            string sNotice = "RealSpace3D version: " + theRS3DVersion.FormatVersion() + "\nVsEngine version: v" + nVersionMajor.ToString() + "." + nVersionMinor.ToString() + "." + nBuildDate.ToString() + "\n\nPlease visit www.realspace3daudio.com forum for updates and answers. Request license, report bugs, or direct general questions to [email protected]" + "\n\nVisiSonics, Inc. Copyright 2011 - 2015";
            #endif

            EditorUtility.DisplayDialog("RealSpace3D Copyright 2011 - 2015", sNotice, "Ok");
        }