This file contains 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
#if UNITY_EDITOR && (!ANATAWA12_GISTS_VPM_PACKAGE || GIST_a4bb4e2e5d75b4fa5ba42e236aae564d) | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Reflection; | |
using System.Text; | |
using HarmonyLib; | |
using JetBrains.Annotations; | |
using UnityEditor; | |
using UnityEditorInternal; |
This file contains 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
/* | |
* Show Assets in Packages by Default in Selector Window | |
* https://gist.github.com/anatawa12/b128ca8fc819b9684f3ed15be1f76e8c | |
* | |
* Copy this cs file to anywhere in your asset folder is the only step to install this tool. | |
* | |
* In Unity, the selector window will not show assets in packages by default. | |
* This tool will change the default behavior to show assets in packages by default. | |
* | |
* MIT License |
This file contains 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
/* | |
* SetEmptyAnimationToNone | |
* TODO: Description | |
* https://gist.github.com/anatawa12/2a6e0a3607e35d57a4b0ff54fa437c14 | |
* | |
* Click `Tools/anatawa12 gists/SetEmptyAnimationToNone` to open this window. | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
This file contains 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
/* | |
* FindAllAnimatedProperties | |
* TODO: Description | |
* https://gist.github.com/anatawa12/TODO | |
* | |
* Click `Tools/anatawa12 gists/FindAllAnimatedProperties` to open this window. | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
This file contains 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
/* | |
* PrefabFileIdRestore | |
* Tool to match fileIDs of one prefab to another prefab. this is used when upgrading original avatar. | |
* https://gist.github.com/anatawa12/43d2ae5cade96018a6e96e8557cd05f9 | |
* | |
* Click `Tools/anatawa12 gists/PrefabFileIdRestore` to open this window. | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
This file contains 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
/* | |
* CreateIdleAnimation | |
* Creates Idle face animation from SkinnedMeshRenderer | |
* https://gist.github.com/anatawa12/667a1b7a892f121a7572bdec325442ea | |
* | |
* Click `Tools/anatawa12 gists/FindPhysBoneAffectedTransforms` to open this window. | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
This file contains 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
/* | |
* MultiGizmo | |
* Tool to show position gizmo of multiple objects | |
* https://gist.github.com/anatawa12/6af2d5e41b0941aee1ed3fd7e0860ac0 | |
* | |
* Open `Tools/anatawa12 gists/MultiGizmo` and select objects to show gizmo | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
This file contains 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
/* | |
* AlignXAxisOnPlaneWithYRotation | |
* Align X axis of multiple GameObjects onto plane of the gameobjects. This is made to align rotation of skirt bone | |
* https://gist.github.com/anatawa12/4733d6e695df5dd5a08c599189bba589 | |
* | |
* Click `Tools/anatawa12 gists/AlignXAxisOnPlaneWithYRotation` to open this window. | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
This file contains 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 UnityEditor; | |
using UnityEditor.Compilation; | |
internal class ForceRecompilation | |
{ | |
[MenuItem("Tools/Force Compilation")] | |
static void DoForceRecompilation() | |
{ | |
CompilationPipeline.RequestScriptCompilation(); | |
EditorUtility.DisplayDialog("Force Compilation", "Compilation Requested!", "OK"); |
This file contains 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
/* | |
* ObjectFullDebugInspector | |
* Debug inspector with full | |
* https://gist.github.com/anatawa12/8af588d3fc832910d5675566303002b5 | |
* | |
* Tools/anatawa12 gists/ObjectFullDebugInspector to open the window | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
NewerOlder