- Enable brace pair colorization
- type "aliases" to start menu
- select "manage app execution aliases"
- scroll down to "windows package manager client" (winget.exe), Enable it
- Done!
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; | |
| public class RoundFBXAnimationEventsToFrame : AssetPostprocessor | |
| { | |
| // Unity recommends incrementing this version number when the postprocessor's code/behavior is changed | |
| static readonly uint k_Version = 0; | |
| public override uint GetVersion() => k_Version; | |
| void OnPostprocessAnimation(GameObject root, AnimationClip clip) |
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
| // unity added mega-padding/margins to project window items.. can adjust them with this script. | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEngine; | |
| [InitializeOnLoad] | |
| internal static class CompactProjectWindowRows |
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
| // Editor tool to receive code snippets from ChatGPT and save them as C# scripts in the Unity project. | |
| // You need to install GreaseMonkey or Tampermonkey in your browser and use the following userscript | |
| // Note: Enable Run in Background in Unity Editor: Player Settings > Resolution and Presentation > Run In Background | |
| using System; | |
| using System.Collections.Concurrent; | |
| using System.IO; | |
| using System.Net; | |
| using System.Net.WebSockets; | |
| using System.Text; |
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
| // ==UserScript== | |
| // @name Search My Gists | |
| // @namespace https://unitycoder.com/ | |
| // @version 09.10.2026 | |
| // @description Automatically add the logged-in username to Gist searches. | |
| // @match https://gist.github.com/* | |
| // @run-at document-idle | |
| // @grant none | |
| // ==/UserScript== |
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; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| public class AddUV : MonoBehaviour | |
| { | |
| public Mesh mesh; | |
| void Awake() |
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
| // first run the launcher and texturing mode enabled. | |
| // https://github.com/YanWenKun/Hunyuan3D-2-WinPortable | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.IO; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| using System.Threading.Tasks; |
NewerOlder