Just download the script and put it in a "Editor" folder.
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.Collections; | |
| public class LightProbeRebuilderWindow : EditorWindow | |
| { | |
| string text = "Paste extracted coefficients here."; | |
| float multiplier = 1.0f; | |
| [MenuItem("Window/Light Probe Rebuilder")] |
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 System.Collections; | |
| public class Extrap { | |
| public static Quaternion Slerp(Quaternion q1, Quaternion q2, float t) | |
| { | |
| float angle; | |
| Vector3 axis; |
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.Collections.Generic; | |
| using System.Linq; | |
| using UnityEditor; | |
| using UnityEngine; | |
| // Neat editor script for grouping objects in hierarchy by /u/SocialOfficer | |
| // | |
| public class HierarchyHelper | |
| { | |
| public static string Suffix = "_Root"; |
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
| // Non Editor code | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public abstract class TrafficLightAttribute : PropertyAttribute | |
| { | |
| public bool DrawLabel = true; | |
| public string CustomLabel; | |
| public bool AlsoDrawDefault; |
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
| /* ==UserStyle== | |
| @name Fix New GitHub Design Issues | |
| @namespace iamrifki | |
| @version 1.0.1 | |
| @description Fixes several things I dislike about the new GitHub redesign | |
| @author Dania Rifki <[email protected]> | |
| ==/UserStyle== */ | |
| @-moz-document url-prefix("https://github.com/"), url-prefix("https://gist.github.com/") { | |
| /* Add separators back to the file list. */ |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Port Scanner</title> | |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
| <meta name="viewport" content="user-scalable=yes, initial-scale=1, width=device-width" /> | |
| <style> | |
| body { | |
| background: #f4f4f4; | |
| width:100%; |
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
| // Adds context menu to TextureImporter objects, saves .dds next to input texture, including mipmaps. | |
| // Tested with Unity 2021.3.4 | |
| using System; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.IO; | |
| using Unity.Collections.LowLevel.Unsafe; | |
| struct DDSHeader |
- Go to https://store.rg-adguard.net.
- Search for the HEVC Video Extensions from Device Manufacturer (
Microsoft.HEVCVideoExtension) app by entering the following store URL into the search box and clicking the ✔ button.https://www.microsoft.com/en-us/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq- Do not use the normal HEVC Video Extensions app URL, because that can't play HEVC videos in Windows Media Player for some inscrutable reason.
- Download the AppxBundle file.
- You may have to right click › Save Link As because the URL scheme is
http, nothttps, if your browser is set to enforce HTTPS-only mode.
- You may have to right click › Save Link As because the URL scheme is
- If it tries to save as a filename that's just a GUID, you may copy the correct
.AppxBundlefilename and save it as that instead.
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
| /////////////////////////////////////////////////////////////////////////////// | |
| // ABOUT: A unity Shader .cginc to draw numbers in the fragment shader | |
| // AUTHOR: Freya Holmér | |
| // LICENSE: Use for whatever, commercial or otherwise! | |
| // Don't hold me liable for issues though | |
| // But pls credit me if it works super well <3 | |
| // LIMITATIONS: There's some precision loss beyond 3 decimal places | |
| // CONTRIBUTORS: yes please! if you know a more precise way to get | |
| // decimal digits then pls lemme know! | |
| // GetDecimalSymbolAt() could use some more love/precision |
OlderNewer