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 |
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
/* | |
* SetDirtyRecursively | |
* Set dirty all components on selected GameObject to avoid reference to prefab asset. | |
* https://gist.github.com/anatawa12/ecf33339c315f259cee62b304910fe43 | |
* | |
* Left click object and select `SetDirty Recursively` | |
* | |
* 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
/* | |
* RemovePropertiesFromAnimations | |
* A window to remove some property from multiple animations | |
* https://gist.github.com/anatawa12/930c08c724af17197a401bcfd580985b | |
* | |
* Open Tools/antawa12 gists/Remove Properties from Animations and set animations to modify, | |
* select properties to remove, and click remove! | |
* If you want to copy instead of in-place modification, check 'Copy instead of in-place' and | |
* select folder. | |
* |
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
/* | |
* #SCRIPTNAME# | |
* TODO: Description | |
* https://gist.github.com/anatawa12/TODO | |
* | |
* Click `Tools/anatawa12 gists/#SCRIPTNAME#` 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
/* | |
* FindReferenceChainRecursive | |
* Tool to find unexpected references | |
* https://gist.github.com/anatawa12/ae5f7b3c5e07150ddc1eb9f0948019ff | |
* | |
* Open Tools/anatawa12 gists/Find Reference Chain Recursive and drop your root object to find references. | |
* | |
* 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
/* | |
* Select GameObjects used by SkinnedMeshRenderers | |
* https://gist.github.com/anatawa12/94d6fd4272025fd26962476100a20ff0 | |
* | |
* Delete EditorOnly On Play before Avatar Optimizer or Modular Avatar. | |
* Add this component to any gameobject in your scene | |
* | |
* 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
/* | |
* Delete EditorOnly On Play before Avatar Optimizer or Modular Avatar | |
* https://gist.github.com/anatawa12/cdc0e5b1f0243c93d3567bbfd808880e | |
* | |
* Delete EditorOnly On Play before Avatar Optimizer or Modular Avatar. | |
* Add this component to any gameobject in your scene | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |