Esempio n. 1
0
        private void LoadCurrentRoom()
        {
            if (m_RoomIndex == 0)
            {
                return;
            }

            string roomPath = System.IO.Path.GetFullPath("Packages/com.unity.xr.windowsmr.metro") + "/Plugins/HolographicSimulation/Rooms/";

            HolographicAutomation.LoadRoom(roomPath + s_RoomStrings[m_RoomIndex].text + ".xef");
        }
        private void LoadCurrentRoom()
        {
            if (m_RoomIndex == 0)
            {
                return;
            }

            string roomPath = EditorApplication.applicationContentsPath + "/UnityExtensions/Unity/VR/HolographicSimulation/Rooms/";

            HolographicAutomation.LoadRoom(roomPath + s_RoomStrings[m_RoomIndex].text + ".xef");
        }