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
| /********************************************************************************************************************************\ | |
| # Description | |
| - Some videos on YouTube have a problem where the sound only comes out of the left or right channel | |
| - This happens when the person who edits the video forgets to convert any mono audio signals to stereo before rendering | |
| - Run this JavaScript snippet in your web browser to make YouTube play stereo audio as mono (same audio signal on all channels) | |
| # How To Use | |
| - Method 1 (best): Copy/paste into "Custom script" box in "Enhancer for YouTube™ (download & instructions: bit.ly/3GmQgZC) | |
| - Method 2: Install as a UserScript using Tampermonkey, Greasemonkey, etc. (download & instructions: bit.ly/3K6B991) |
- Navigate to https://calendar.google.com
- Click the Chrome drop down menu > More Tools > Create Shortcut
- Rename to "Google Calendar" and check "Open as window"
- Open the new Google Calendar app
- Right click on the app > Options > Keep in Dock
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 System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Profiling; | |
| public class KdTree<T> : IEnumerable<T>, IEnumerable where T : Component | |
| { | |
| protected KdNode _root; | |
| protected KdNode _last; |