

using UnityEditor; | |
using UnityEngine; | |
using System.IO; | |
using System.Linq; | |
using UnityEngine.UIElements; | |
namespace kesera2.MamefriendsCC0Pants | |
{ | |
public class TextureMaterialSyncWindow : EditorWindow | |
{ |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
[InitializeOnLoad] | |
public static class BlenderStyleSceneView | |
{ | |
private static readonly float rotateStep = 15f; | |
private static readonly float panStep = 0.5f; |
bl_info = { | |
"name": "Recursive Bone Rename", | |
"author": "kesera2", | |
"version": (1, 2), | |
"blender": (3, 0, 0), | |
"location": "View3D > Sidebar > Tool Tab", | |
"description": "Rename bones recursively under root bones if name contains target string", | |
"category": "Armature", | |
} |
import bpy | |
# 子ボーンを再帰的に削除する関数 | |
def delete_child_bones(bone, armature): | |
children = bone.children[:] | |
for child in children: | |
delete_child_bones(child, armature) | |
armature.data.edit_bones.remove(child) | |
# ボーンとその子ボーンを削除するオペレーター |
using TMPro; | |
using UdonSharp; | |
using UnityEngine; | |
using VRC.SDKBase; | |
public class VelocityJumpCountGame : UdonSharpBehaviour | |
{ | |
private const float Multiplier = 10f; | |
[SerializeField] private TextMeshProUGUI jumpCountGUI; | |
[SerializeField] private TextMeshProUGUI maxJumpCountGUI; |
using UdonSharp; | |
using UnityEngine; | |
using VRC.SDKBase; | |
public class CubeController : UdonSharpBehaviour | |
{ | |
[SerializeField] private GameObject cube; | |
private readonly float jumpImpulse = 3.0f; | |
private readonly float runSpeed = 2.0f; |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using VRC.SDK3.Dynamics.PhysBone.Components; | |
public class PhysBoneCopierWindow : EditorWindow | |
{ | |
[SerializeField] private GameObject prefabRoot; // 元のGameObject | |
[SerializeField] private GameObject searchRoot; // 探索するGameObject | |
[SerializeField] private bool isDeleteEnabled = true; |
#!/bin/bash | |
#### NOTE: /bin/github に配置してね ### | |
# 現在のディレクトリがGitリポジトリかどうかチェック | |
if ! git rev-parse --is-inside-work-tree &> /dev/null; then | |
echo "Error: This directory is not a Git repository." | |
exit 1 | |
fi |
#if UNITY_EDITOR | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using System.Reflection; | |
[InitializeOnLoad] | |
public class ResetTransform | |
{ | |
static ResetTransform() |