Skip to content

Instantly share code, notes, and snippets.

View anatawa12's full-sized avatar
🏃‍♂️
Working on Many Projects

anatawa12 anatawa12

🏃‍♂️
Working on Many Projects
View GitHub Profile
@anatawa12
anatawa12 / ActualPerformanceWindow.cs
Last active June 16, 2026 01:58
A window to see actual performance rank on building avatars.
/*
* Actual Performance Info Window
* https://gist.github.com/anatawa12/a4bb4e2e5d75b4fa5ba42e236aae564d
*
* Copy this cs file to anywhere in your asset folder is the only step to install this tool.
*
* A window to see actual performance rank on building avatars.
* When you click the `Build & Publish` button, this class will compute actual performance rank show you that.
*
* MIT License
@anatawa12
anatawa12 / PhysBoneEditorUtilities.cs
Last active March 22, 2023 13:07
PhysBoneEditorUtilities
// MIT License
//
// Copyright (c) 2023 anatawa12
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@anatawa12
anatawa12 / GenerateMeshWithBackFace.cs
Last active March 22, 2023 12:10
Left click Mesh and select Generate Mesh with backface to generate new mesh with backface
/*
* GenerateMeshWithBackFace
* https://gist.github.com/anatawa12/4c900d5c15050fb5bdc0f9d027962183
*
* Left click Mesh and select Generate Mesh with backface to generate new mesh with backface
*
* MIT License
*
* Copyright (c) 2023 anatawa12
*
@anatawa12
anatawa12 / TransferTransformWindow.cs
Last active March 22, 2023 12:06
A window to copy transform info recursively
/*
* Transfer Transform Window
* https://gist.github.com/anatawa12/b8799da5d3131e4020f414439a4ea037
*
* A window to copy transform info recursively
* `Tools/anatawa12 gist/Transfer Transform`
*
* MIT License
*
* Copyright (c) 2023 anatawa12
@anatawa12
anatawa12 / SetRandomBlueprintId.cs
Last active December 28, 2025 15:15
sets Set Random Blueprint ID
// MIT License
// https://gist.github.com/anatawa12/581b66619711eaf5ebacbd85369d62e6
//
// Copyright (c) 2023 anatawa12
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
@anatawa12
anatawa12 / AndroidOnlyCheck.cs
Last active April 15, 2023 10:35
A VRCSDKPreprocessAvatarCallback which prevents PC builds.
/*
* AndroidOnlyCheck
* https://gist.github.com/anatawa12/5f847a1692fb30c2c9f00a47d50243ad
*
* A VRCSDKPreprocessAvatarCallback which prevents PC builds.
* In Android build, this script does nothing. In PC build, this script will show dialog & cancel the build.
*
* MIT License
*
* Copyright (c) 2023 anatawa12
@anatawa12
anatawa12 / MoveComponentTest.cs
Created February 12, 2023 08:34
A trial to move component without clone. This does not work.
/*
* Move Component Test
* https://gist.github.com/anatawa12/b8799da5d3131e4020f414439a4ea037
*
* A trial to move component without clone. This does not work well
*
* MIT License
*
* Copyright (c) 2023 anatawa12
*
@anatawa12
anatawa12 / CopySerializedPropertyValue.cs
Last active April 3, 2025 03:29
Copy value of a SerializedProperty to another SerializedProperty
// Copyright (c) anatawa12 2022
// Published under CC0 Licesnse or Unlicesnse at your option
// see https://creativecommons.org/publicdomain/zero/1.0/legalcode for CC0
// see https://unlicense.org/ for Unlicense
using System;
using UnityEditor;
using UnityEngine;
using UnityEngine.Assertions;
@anatawa12
anatawa12 / MergeAnimationClip.cs
Last active March 22, 2023 13:06
Micro tool to multiple animation clip into one.
/*
* Merge Animation Clip
* https://gist.github.com/anatawa12/f7476d2d727bc43d86121f6a3337d2c3
*
* Micro tool to multiple animation clip into one.
* Click `Tools/anatawa12 gists/Merge Animation Clip` to open the merge window.
*
* MIT License
*
* Copyright (c) 2023 anatawa12
@anatawa12
anatawa12 / CompilationLogWindow.cs
Last active March 22, 2023 17:46
The window to see compilation progress
/*
* CompilationLogWindow
* https://gist.github.com/anatawa12/5987f6b5357c3c91603fa07f215dfeab
*
* The window to see compilation progress
*
* Copy this cs file to anywhere in your asset folder is the only step to install this tool.
*
* MIT License
*