This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using TMPro; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
public class WordDefinitionText : MonoBehaviour { | |
public TMP_Text wordText; | |
public TMP_Text typeText; | |
public TMP_Text definitionText; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using System.Reflection; | |
using System; | |
// This class finds and kills a coroutine that throws errors inside the editor every 5 seconds if no headset is connected | |
// The coroutine was introduced in the OpenXR Plugin [1.5.1] - 2022-08-11 | |
// There absolutely has to be a better way, and this code should NOT be maintained incase the issue is resolved | |
public class OpenXRRestarterKiller : MonoBehaviour { | |
private static bool isHookedIntoUpdate = false; |