private void Awake() { if (Instance != null) { return; } Instance = this; Loader.SongsLoadedEvent += RetrieveAllVideoData; DontDestroyOnLoad(gameObject); }
private void Awake() { if (Instance != null) { return; } Instance = this; autoDownload = ModPrefs.GetBool(Plugin.PluginName, "autoDownload", false, true); SongLoader.SongsLoadedEvent += RetrieveAllVideoData; DontDestroyOnLoad(gameObject); }
private void Awake() { if (Instance != null) { return; } Instance = this; autoDownload = Plugin.config.GetBool("Settings", "autoDownload", false, true); Loader.SongsLoadedEvent += RetrieveAllVideoData; DontDestroyOnLoad(gameObject); }